Xceed Grid for WinForms v4.3 Documentation
IsCenterElementDefined Property


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > HeaderFooter Class : IsCenterElementDefined Property
Gets a boolean value indicating if one or more properties of the CenterElement have been explicitly set.
Syntax
'Declaration
 
<BrowsableAttribute(False)>

Public ReadOnly Property IsCenterElementDefined As Boolean
'Usage
 
Dim instance As HeaderFooter

Dim value As Boolean

 

value = instance.IsCenterElementDefined
[Browsable(false)]

public bool IsCenterElementDefined {get;}

Property Value

true if one or more properties of the CenterElement have been explicitly set; false otherwise.
Remarks

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