Class StaticDataFieldAttribute
Allows you to specify a custom name for the StaticData field in a StyleInfoStore.
Inheritance
System.Object
StaticDataFieldAttribute
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public sealed class StaticDataFieldAttribute : Attribute
Constructors
StaticDataFieldAttribute(String)
Initializes a new instance of the StaticDataFieldAttribute class.
Declaration
public StaticDataFieldAttribute(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName |
Fields
Default
Specifies the default field name as "staticDataStore".
Declaration
public static readonly StaticDataFieldAttribute Default
Field Value
Type |
---|
StaticDataFieldAttribute |
Properties
FieldName
Returns the field name in the StyleInfoStore class that identifies the static data store.
Declaration
public string FieldName { get; }
Property Value
Type |
---|
System.String |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type |
---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
---|
System.Int32 |