Xceed Grid for WinForms v4.3 Documentation
ResetRightElement Method


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > HeaderFooter Class : ResetRightElement Method
Resets the property values of the RightElement.
Syntax
'Declaration
 
Public Sub ResetRightElement() 
'Usage
 
Dim instance As HeaderFooter
 
instance.ResetRightElement()
public void ResetRightElement()
Remarks

Calling the ResetRightElement method will set the RightElement property to a null reference (Nothing in Visual Basic) causing a new HeaderFooterElement to be created when the RightElement property is accessed.

The IsRightElementDefined property should be consulted before the RightElement property is accessed to prevent a new instance of a HeaderFooterElement from being created in the case where none of the properties of the RightElement have been explicitly set.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HeaderFooter Class
HeaderFooter Members