Class StyleInfoPropertyConvertEventArgs
Inheritance
System.Object
System.EventArgs
StyleInfoPropertyConvertEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Styles
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class StyleInfoPropertyConvertEventArgs : SyncfusionHandledEventArgs
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
[TraceProperty(true)]
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
[TraceProperty(true)]
public object Value { get; set; }
Property Value
Type |
---|
System.Object |