Class GridRenderStyleInfo
GridRenderStyleInfo can be attached to a GridRenderer.
Implements
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridRenderStyleInfo : GridStyleInfo, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IRenderCellInfo, IDisposable, IStyleChanged, IAllowInvalidateCell
Constructors
GridRenderStyleInfo(GridControlBase, GridStyleInfo)
Initalizes a new style object and associates it with an existing GridStyleInfoIdentity.
Declaration
public GridRenderStyleInfo(GridControlBase gridControl, GridStyleInfo modelStyle)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | gridControl | |
GridStyleInfo | modelStyle |
Properties
AllowInvalidateCell
Gets or sets a value indicating whether to allow invalidating the cell.
Declaration
public bool AllowInvalidateCell { get; set; }
Property Value
Type |
---|
System.Boolean |
CellRenderer
Gets the cell renderer.
Declaration
public IGridCellRenderer CellRenderer { get; }
Property Value
Type |
---|
IGridCellRenderer |
GridControl
Gets the parent grid.
Declaration
public GridControlBase GridControl { get; }
Property Value
Type |
---|
GridControlBase |
ModelStyle
Gives access to underlying model style. Use it to apply changes to style (.e.g. in gridControl textbox: modelstyle.cellvalue = ...)
Declaration
public GridStyleInfo ModelStyle { get; }
Property Value
Type |
---|
GridStyleInfo |
Methods
Copy()
Returns a copy of the current object.
Declaration
public GridRenderStyleInfo Copy()
Returns
Type | Description |
---|---|
GridRenderStyleInfo | A copy of the current object. |
Dispose()
Releases all the resources used by this component.
Declaration
public override void Dispose()
Overrides
OnStyleChanged(StyleInfoProperty)
Declaration
protected override void OnStyleChanged(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip |
Overrides
Explicit Interface Implementations
IStyleChanged.StyleChanged(StyleChangedEventArgs)
Declaration
void IStyleChanged.StyleChanged(StyleChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
StyleChangedEventArgs | e |
Implements
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
System.IDisposable