Class CaptionSummaryStyleInfo
Represents the functionalities that holds all information stored for a CaptionSummary.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class CaptionSummaryStyleInfo : SummaryStyleInfo, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CaptionSummaryStyleInfo()
Initializes a new instance of the CaptionSummaryStyleInfo class.
Declaration
public CaptionSummaryStyleInfo()
CaptionSummaryStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the CaptionSummaryStyleInfo class.
Declaration
public CaptionSummaryStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
CaptionSummaryStyleInfo(StyleInfoSubObjectIdentity, CellStyleInfoStore)
Initializes a new instance of the CaptionSummaryStyleInfo class and associates it with an existing StyleInfoStore.
Declaration
public CaptionSummaryStyleInfo(StyleInfoSubObjectIdentity identity, CellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
CellStyleInfoStore | store | A StyleInfoStore that holds data for this object. All changes in this style object will be saved in the CellStyleInfoStore object. |
Properties
Default
Gets the default CaptionSummaryStyleInfo value.
Declaration
public static CaptionSummaryStyleInfo Default { get; }
Property Value
Type |
---|
CaptionSummaryStyleInfo |
ExpanderColor
Gets or sets the foreground color of the group expander color.
Declaration
public Color ExpanderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBackColor
Gets or sets the hover state back color.
Declaration
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverTextColor
Gets or sets the hover state text color.
Declaration
public Color HoverTextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBackColor
Gets or sets the pressed state back color.
Declaration
public Color PressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedTextColor
Gets or sets the pressed state text color.
Declaration
public Color PressedTextColor { 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. |