Xceed Grid for WinForms v4.3 Documentation
ResetCenterElement Method


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

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

The IsCenterElementDefined property should be consulted before the CenterElement property is accessed to prevent a new instance of a HeaderFooterElement from being created in the case where none of the properties of the CenterElement 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