Class GridGroupOptionsStyleInfoCustomProperties
Represents a class that adds design-time support for custom properties by adding empty custom property objects and later calling Add(GridGroupOptionsStyleInfoCustomProperties), which will result in changing the GridGroupOptionsStyleInfo 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 GridGroupOptionsStyleInfoCustomProperties
Constructors
GridGroupOptionsStyleInfoCustomProperties()
Initializes a new instance of the GridGroupOptionsStyleInfoCustomPropertiesCollection class with an empty instance of GridGroupOptionsStyleInfo class. When you later set the GridGroupOptionsStyleInfo property, the changes in this object will be copied over to the new GridGroupOptionsStyleInfo object.
Declaration
protected GridGroupOptionsStyleInfoCustomProperties()
Remarks
The CustomProperties collection adds design-time support for custom properties by adding empty custom property objects and later calling Add(GridGroupOptionsStyleInfoCustomProperties), which will result in changing the GridGroupOptionsStyleInfo property for this object and forces copying all properties of this object to the style object.
GridGroupOptionsStyleInfoCustomProperties(StyleInfoIdentityBase)
Initializes a new instance of the GridGroupOptionsStyleInfoStore class with the specified instance of the StyleInfoIdentityBase class.
Declaration
protected GridGroupOptionsStyleInfoCustomProperties(StyleInfoIdentityBase identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | An instance of the StyleInfoIdentityBase that holds the identity. |
GridGroupOptionsStyleInfoCustomProperties(StyleInfoIdentityBase, GridGroupOptionsStyleInfoStore)
Initializes a new instance of the GridGroupOptionsStyleInfoStore class with the specified instance of the StyleInfoIdentityBase and GridGroupOptionsStyleInfoStore class.
Declaration
protected GridGroupOptionsStyleInfoCustomProperties(StyleInfoIdentityBase identity, GridGroupOptionsStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoIdentityBase | identity | An instance of the StyleInfoIdentityBase that holds the style identity values. |
GridGroupOptionsStyleInfoStore | store | An instance of the GridGroupOptionsStyleInfoStore that holds the style values. |
GridGroupOptionsStyleInfoCustomProperties(GridGroupOptionsStyleInfo)
Initializes a new instance of the GridGroupOptionsStyleInfoCustomPropertiesCollection class. with a GridGroupOptionsStyleInfo that the properties of this class will belong to.
Declaration
protected GridGroupOptionsStyleInfoCustomProperties(GridGroupOptionsStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridGroupOptionsStyleInfo | style | The GridGroupOptionsStyleInfo that holds and gets the data for this custom property object. |
GridGroupOptionsStyleInfoCustomProperties(GridGroupOptionsStyleInfoStore)
Determine the style info of custom properties.
Declaration
protected GridGroupOptionsStyleInfoCustomProperties(GridGroupOptionsStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GridGroupOptionsStyleInfoStore | store | The instance of the GridGroupOptionsStyleInfoStore that holds the values of style properties. |
Fields
style
The GridGroupOptionsStyleInfo that holds and gets the data for this custom property object.
Declaration
protected GridGroupOptionsStyleInfo style
Field Value
Type |
---|
GridGroupOptionsStyleInfo |
Properties
GroupOptions
Gets or sets the style values of the GridGroupOptionsStyleInfo instances.
Declaration
public GridGroupOptionsStyleInfo GroupOptions { get; set; }
Property Value
Type |
---|
GridGroupOptionsStyleInfo |
Remarks
The instance of GridGroupOptionsStyleInfo class that holds and gets the data for this custom property object. When you set the GridGroupOptionsStyleInfo property, all prior changes in this object will be copied over to the new instance of the GridGroupOptionsStyleInfo class.
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. |