Class FilterRowStyleInfo
Represents the functionalities that holds all information stored for a filter row cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class FilterRowStyleInfo : CellStyleInfo, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
FilterRowStyleInfo()
Initializes a new instance of the FilterRowStyleInfo class.
Declaration
public FilterRowStyleInfo()
FilterRowStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the FilterRowStyleInfo class.
Declaration
public FilterRowStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
FilterRowStyleInfo(StyleInfoSubObjectIdentity, CellStyleInfoStore)
Initializes a new instance of the FilterRowStyleInfo class and associates it with an existing StyleInfoStore.
Declaration
public FilterRowStyleInfo(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 HeaderStyleInfo value.
Declaration
public static FilterRowStyleInfo Default { get; }
Property Value
Type |
---|
FilterRowStyleInfo |
DropDownButtonBackColor
Gets or sets the filter row drop down button hover background color.
Declaration
public Color DropDownButtonBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDownButtonHoverBackColor
Gets or sets the filter row drop down button hover background color.
Declaration
public Color DropDownButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDownButtonPressedBackColor
Gets or sets the filter row drop down button pressed background color.
Declaration
public Color DropDownButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDownIcon
Gets or sets the custom drop down icon for a filtered column's header.
Declaration
public Bitmap DropDownIcon { get; set; }
Property Value
Type |
---|
System.Drawing.Bitmap |
DropDownItemHoverBackColor
Gets or sets the filter drop down item hover background color.
Declaration
public Color DropDownItemHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDownItemHoverForeColor
Gets or sets the filter drop down item hover foreground color.
Declaration
public Color DropDownItemHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDownItemSelectionBackColor
Gets or sets the filter drop down item selection background color.
Declaration
public Color DropDownItemSelectionBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDownItemSelectionForeColor
Gets or sets the filter drop down item selection foreground color.
Declaration
public Color DropDownItemSelectionForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HasDropDownIcon
Gets a value indicating whether the DropDownIcon property has been changed or not.
Declaration
public bool HasDropDownIcon { get; }
Property Value
Type |
---|
System.Boolean |
PopupBackColor
Gets or sets the filter row popup background color.
Declaration
public Color PopupBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PopupTextColor
Gets or sets the filter row popup background color.
Declaration
public Color PopupTextColor { 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. |