Class GridDataColumnStyle
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataColumnStyle : GridDataStyleInfo, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IRenderCellInfo, IDisposable
Constructors
GridDataColumnStyle()
Initalizes a new style object.
Declaration
public GridDataColumnStyle()
GridDataColumnStyle(GridDataColumnStyle)
Initalizes a new style object and copies all data from an existing style object.
Declaration
public GridDataColumnStyle(GridDataColumnStyle style)
Parameters
Type | Name | Description |
---|---|---|
GridDataColumnStyle | style | The style object that contains the original data. |
GridDataColumnStyle(GridStyleInfoStore)
Initalizes a new style object and associates it with an existing
Declaration
public GridDataColumnStyle(GridStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfoStore | store | A |
GridDataColumnStyle(StyleInfoIdentityBase)
Initalizes a new style object and associates it with an existing
Declaration
public GridDataColumnStyle(StyleInfoIdentityBase identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | A |
GridDataColumnStyle(StyleInfoIdentityBase, GridStyleInfoStore)
Initalizes a new style object and associates it with an existing
Declaration
public GridDataColumnStyle(StyleInfoIdentityBase identity, GridStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | A |
GridStyleInfoStore | store | A |
Properties
CellTypeEnum
Gets or sets the ENUM value for a CellType.
Declaration
public GridDataCellType CellTypeEnum { get; set; }
Property Value
Type | Description |
---|---|
GridDataCellType | The cell type enum. |
HasCellTypeEnum
Gets a value indicating whether this instance has cell type enum.
Declaration
public bool HasCellTypeEnum { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Store
The
Declaration
public GridDataColumnStyleInfoStore Store { get; }
Property Value
Type |
---|
GridDataColumnStyleInfoStore |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip |
Returns
Type |
---|
StyleInfoSubObjectIdentity |
Overrides
GetOffLineCopy()
Creates a new GridDataColumnStyle and copies its cell and identity information from the current object. The new instance will be made offline so that changes in this style object are not be stored in the GridData
Declaration
public GridDataColumnStyle GetOffLineCopy()
Returns
Type | Description |
---|---|
GridDataColumnStyle | A new GridDataColumnStyle instance. |
Remarks
Lets a style object load base styles and default values but disables saving changes back to the grid. (see OnStyleChanged below)
ResetCellTypeEnum()
Resets the cell type enum.
Declaration
public void ResetCellTypeEnum()