Class GridTableOptionsStyleInfoCustomProperties
Represents a class that adds design-time support for custom properties by adding empty custom property objects and later calling Add(GridTableOptionsStyleInfoCustomProperties), which will result in changing the GridTableOptionsStyleInfo property for this object and forces copying all properties of this object to the style object.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridTableOptionsStyleInfoCustomProperties
Constructors
GridTableOptionsStyleInfoCustomProperties()
Initializes a new instance of the GridTableOptionsStyleInfoCustomPropertiesCollection class with an empty GridTableOptionsStyleInfo object. When you later set the GridTableOptionsStyleInfo property, the changes in this object will be copied over to the new GridTableOptionsStyleInfo object.
Declaration
protected GridTableOptionsStyleInfoCustomProperties()
Remarks
The CustomProperties collection adds design-time support for custom properties by adding empty custom property objects and later calling Add(GridTableOptionsStyleInfoCustomProperties), which will result in changing the GridTableOptionsStyleInfo property for this object and forces copying all properties of this object to the style object.
GridTableOptionsStyleInfoCustomProperties(StyleInfoIdentityBase)
Declaration
protected GridTableOptionsStyleInfoCustomProperties(StyleInfoIdentityBase identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity |
GridTableOptionsStyleInfoCustomProperties(StyleInfoIdentityBase, GridTableOptionsStyleInfoStore)
Initializes a new instances of the GridTableOptionsStyleInfoCustomProperties class with a specified instance of the StyleInfoIdentityBase and GridTableOptionsStyleInfoStore class.
Declaration
protected GridTableOptionsStyleInfoCustomProperties(StyleInfoIdentityBase identity, GridTableOptionsStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | An instance of the StyleInfoIdentityBase class. |
GridTableOptionsStyleInfoStore | store | An instance of the GridTableOptionsStyleInfoStore class. |
GridTableOptionsStyleInfoCustomProperties(GridTableOptionsStyleInfo)
Initializes a new instance of the GridTableOptionsStyleInfoCustomPropertiesCollection class with a GridTableOptionsStyleInfo that the properties of this class will belong to.
Declaration
protected GridTableOptionsStyleInfoCustomProperties(GridTableOptionsStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridTableOptionsStyleInfo | style | The GridTableOptionsStyleInfo that holds and gets the data for this custom property object. |
GridTableOptionsStyleInfoCustomProperties(GridTableOptionsStyleInfoStore)
Initializes a new instance of the GridTableOptionsStyleInfoCustomProperties class with the specified instances of the GridTableOptionsStyleInfoStore class.
Declaration
protected GridTableOptionsStyleInfoCustomProperties(GridTableOptionsStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GridTableOptionsStyleInfoStore | store | An instance of the GridTableOptionsStyleInfoStore class. |
Fields
style
The GridTableOptionsStyleInfo that holds and gets the data for this custom property object.
Declaration
protected GridTableOptionsStyleInfo style
Field Value
Type |
---|
GridTableOptionsStyleInfo |
Properties
TableOptions
Gets or sets the style values of the GridTableOptionsStyleInfo instances.
Declaration
public GridTableOptionsStyleInfo TableOptions { get; set; }
Property Value
Type |
---|
GridTableOptionsStyleInfo |
Remarks
The GridTableOptionsStyleInfo that holds and gets the data for this custom property object. When you set the GridTableOptionsStyleInfo property, all prior changes in this object will be copied over to the new GridTableOptionsStyleInfo object.
Methods
CreateStyleInfoProperty(Type, String)
Registers a new custom property.
Declaration
protected static StyleInfoProperty CreateStyleInfoProperty(Type componentType, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | componentType | The type of your derived custom property class. |
System.String | propertyName | The name of the property. This must match a property member in your class. |
Returns
Type | Description |
---|---|
StyleInfoProperty | A StyleInfoProperty object that you should use for getting and setting values. |
CreateStyleInfoProperty(Type, String, StyleInfoPropertyOptions)
Registers a new custom property.
Declaration
protected static StyleInfoProperty CreateStyleInfoProperty(Type componentType, string propertyName, StyleInfoPropertyOptions propertyOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Type | componentType | The type of your derived custom property class. |
System.String | propertyName | The name of the property. This must match a property member in your class. |
StyleInfoPropertyOptions | propertyOptions | Specifies attributes for the property. |
Returns
Type | Description |
---|---|
StyleInfoProperty | A StyleInfoProperty object that you should use for getting and setting values. |
CreateStyleInfoProperty(Type, Type, String)
Registers a new custom property.
Declaration
protected static StyleInfoProperty CreateStyleInfoProperty(Type componentType, Type type, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | componentType | The type of your derived custom property class. |
System.Type | type | The type of the property. |
System.String | propertyName | The name of the property. This must match a property member in your class. |
Returns
Type | Description |
---|---|
StyleInfoProperty | A StyleInfoProperty object that you should use for getting and setting values. |
CreateStyleInfoProperty(Type, Type, String, StyleInfoPropertyOptions)
Registers a new custom property.
Declaration
protected static StyleInfoProperty CreateStyleInfoProperty(Type componentType, Type type, string propertyName, StyleInfoPropertyOptions propertyOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Type | componentType | The type of your derived custom property class. |
System.Type | type | The type of the property. |
System.String | propertyName | The name of the property. This must match a property member in your class. |
StyleInfoPropertyOptions | propertyOptions | Specifies attributes for the property. |
Returns
Type | Description |
---|---|
StyleInfoProperty | A StyleInfoProperty object that you should use for getting and setting values. |
CreateStyleInfoProperty(Type, Type, String, Int16, Boolean)
Registers a StyleInfoProperty for the specified property.
Declaration
protected static StyleInfoProperty CreateStyleInfoProperty(Type componentType, Type type, string name, short maxValue, bool makeBitValue)
Parameters
Type | Name | Description |
---|---|---|
System.Type | componentType | The type of your derived custom property class. |
System.Type | type | The type of the property. |
System.String | name | The name of the property. |
System.Int16 | maxValue | The maximal possible Int16 value for the property. |
System.Boolean | makeBitValue | Indicates whether this StyleInfoProperty should be registered as a member of the BitArray and not to allocate an object reference. |
Returns
Type | Description |
---|---|
StyleInfoProperty | The StyleInfoProperty with information about the property. |