Class GridDataStyleInfo
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataStyleInfo : GridStyleInfo, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IRenderCellInfo, IDisposable
Constructors
GridDataStyleInfo()
Initalizes a new style object.
Declaration
public GridDataStyleInfo()
GridDataStyleInfo(GridDataStyleInfo)
Initalizes a new style object and copies all data from an existing style object.
Declaration
public GridDataStyleInfo(GridDataStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridDataStyleInfo | style | The style object that contains the original data. |
GridDataStyleInfo(GridStyleInfoStore)
Initalizes a new style object and associates it with an existing GridDataStyleInfoStore.
Declaration
public GridDataStyleInfo(GridStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfoStore | store | A GridDataStyleInfoStore that holds data for this GridDataStyleInfo. All changes in this style object will be saved in the GridDataStyleInfoStore object. |
GridDataStyleInfo(StyleInfoIdentityBase)
Initalizes a new style object and associates it with an existing
Declaration
public GridDataStyleInfo(StyleInfoIdentityBase identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | A |
GridDataStyleInfo(StyleInfoIdentityBase, GridStyleInfoStore)
Initalizes a new style object and associates it with an existing
Declaration
public GridDataStyleInfo(StyleInfoIdentityBase identity, GridStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | A |
GridStyleInfoStore | store | A GridDataStyleInfoStore that holds data for this GridDataStyleInfo. All changes in this style object will be saved in the GridDataStyleInfoStore object. |
Properties
CellIdentity
Holds identity information such as row and column index for the current GridDataStyleInfo.
Declaration
public GridDataTableStyleInfoIdentity CellIdentity { get; set; }
Property Value
Type |
---|
GridDataTableStyleInfoIdentity |
GridModel
Declaration
public GridDataTableModel GridModel { get; }
Property Value
Type |
---|
GridDataTableModel |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip |
Returns
Type |
---|
StyleInfoSubObjectIdentity |
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
GetOffLineCopy()
Creates a new GridDataStyleInfo 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 GridDataStyleInfo GetOffLineCopy()
Returns
Type | Description |
---|---|
GridDataStyleInfo | A new GridDataStyleInfo instance. |
Remarks
Lets a style object load base styles and default values but disables saving changes back to the grid. (see OnStyleChanged below)