Class PreviewRowStyleInfo
Represents the functionalities that holds all information stored for a preview row cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class PreviewRowStyleInfo : CellStyleInfo, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
PreviewRowStyleInfo()
Initializes a new instance of the PreviewRowStyleInfo class.
Declaration
public PreviewRowStyleInfo()
PreviewRowStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the PreviewRowStyleInfo class.
Declaration
public PreviewRowStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
PreviewRowStyleInfo(StyleInfoSubObjectIdentity, CellStyleInfoStore)
Initializes a new instance of the PreviewRowStyleInfo class.
Declaration
public PreviewRowStyleInfo(StyleInfoSubObjectIdentity identity, CellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
CellStyleInfoStore | store | The store. |
Properties
Default
Gets the default PreviewRowStyleInfo value.
Declaration
public static PreviewRowStyleInfo Default { get; }
Property Value
Type |
---|
PreviewRowStyleInfo |
ExpanderColor
Gets or sets the foreground color of the preview row expander.
Declaration
public Color ExpanderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Store
Gets the CellStyleInfoStore object that holds all the data for this style object.
Declaration
public CellStyleInfoStore Store { get; }
Property Value
Type |
---|
CellStyleInfoStore |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Override this method to return a default style object for your derived class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | A default style object. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |