FlexGrid for WinForms
DefinedElements Property



Gets or sets which elements are defined in this style.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
Public Property DefinedElements As StyleElementFlags
'Usage
 
Dim instance As CellStyle
Dim value As StyleElementFlags
 
instance.DefinedElements = value
 
value = instance.DefinedElements
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public StyleElementFlags DefinedElements {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public:
property StyleElementFlags DefinedElements {
   StyleElementFlags get();
   void set (    StyleElementFlags value);
}
Remarks
Elements that are not defined in a particular style are automatically inherited from the ancestor style (usually the Normal style). For example, if you create a custom style that defines the Font property, all other elements (back color, alignment, and so on) are inherited from the ancestor style, which may be the Normal style or another custom style assigned to a row or column.
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

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback