menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StyleInfoPropertyConvertEventArgs - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StyleInfoPropertyConvertEventArgs

    Provides data for the Format and Parse events.

    Inheritance
    System.Object
    GridEventArgs
    GridHandledEventArgs
    StyleInfoPropertyConvertEventArgs
    Inherited Members
    GridHandledEventArgs.Handled
    Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
    Assembly: Syncfusion.SfCellGrid.UWP.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

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved