Class AddNewRowStyleInfo
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 AddNewRowStyleInfo : CellStyleInfo, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
AddNewRowStyleInfo()
Initializes a new instance of the AddNewRowStyleInfo class.
Declaration
public AddNewRowStyleInfo()
AddNewRowStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the AddNewRowStyleInfo class.
Declaration
public AddNewRowStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
AddNewRowStyleInfo(StyleInfoSubObjectIdentity, CellStyleInfoStore)
Initializes a new instance of the AddNewRowStyleInfo class.
Declaration
public AddNewRowStyleInfo(StyleInfoSubObjectIdentity identity, CellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
CellStyleInfoStore | store | The store. |
Properties
AddNewRowIcon
Gets or sets the custom add new row icon for a filtered column's header.
Declaration
public Bitmap AddNewRowIcon { get; set; }
Property Value
Type |
---|
System.Drawing.Bitmap |
Default
Gets the default AddNewRowStyleInfo value.
Declaration
public static AddNewRowStyleInfo Default { get; }
Property Value
Type |
---|
AddNewRowStyleInfo |
HasAddNewRowIcon
Gets a value indicating whether the AddNewRowIcon property has been changed or not.
Declaration
public bool HasAddNewRowIcon { get; }
Property Value
Type |
---|
System.Boolean |
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. |