Class StyleInfoPropertyConvertEventArgs
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public sealed class StyleInfoPropertyConvertEventArgs : GridHandledEventArgs
Remarks
The StyleInfoPropertyConvertEventArgs is used to format and unformat values represented by a property in a StyleInfoStore object. The Format event occurs whenever a property is written out as string and the Parse event occurs whenever the value is read back in from a string.
If you handle this event, store the resulting value into Value and set Handled to True.
Constructors
StyleInfoPropertyConvertEventArgs(Object, Type)
Initializes a new instance of the StyleInfoPropertyConvertEventArgs class.
Declaration
public StyleInfoPropertyConvertEventArgs(object value, Type desiredType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | An Object that contains the value of the current property. |
System.Type | desiredType | The Type of the value. |
Properties
DesiredType
Returns the data type of the desired value.
Declaration
public Type DesiredType { get; }
Property Value
Type |
---|
System.Type |
Remarks
The DesiredType property enables you to check the type of the property that the value is being converted to.
Value
Gets / sets the value of the StyleInfoPropertyConvertEventArgs object.
Declaration
public object Value { get; set; }
Property Value
Type |
---|
System.Object |