FlexGrid for WinForms
DefinedElements Property

Gets or sets which elements are defined in this style.
Public Property DefinedElements As StyleElementFlags
Dim instance As CellStyle
Dim value As StyleElementFlags
instance.DefinedElements = value
value = instance.DefinedElements
public StyleElementFlags DefinedElements {get; set;}
property StyleElementFlags DefinedElements {
   StyleElementFlags get();
   void set (    StyleElementFlags value);
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.

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


CellStyle Class
CellStyle Members



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

Send Feedback