menu

UWP

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

    Show / Hide Table of Contents

    Class StyleInfoPropertyReadXmlEventArgs

    Provides data for the ReadXml event.

    Inheritance
    System.Object
    GridEventArgs
    GridHandledEventArgs
    StyleInfoPropertyReadXmlEventArgs
    Inherited Members
    GridHandledEventArgs.Handled
    Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
    Assembly: Syncfusion.SfCellGrid.UWP.dll
    Syntax
    public sealed class StyleInfoPropertyReadXmlEventArgs : GridHandledEventArgs
    Remarks

    The StyleInfoPropertyReadXmlEventArgs is used to deserialize a property of a StyleInfoStore object. The ReadXml event occurs whenever a property is deserialized from an XML stream during an operation of the System.Xml.Serialization.XmlSerializer class.

    If you handle this event, you set Handled to True. Call of the Store to save the value for this property into the style object. Handling this event allows you to customize the way the object is deserialized or skip serialization.

    This event allows you to implement a different serialization mechanism if many style objects reference and share the same object, (e.g. if you assign a DataSet to several objects DataSource property). With such a scenario, you could write out an identifier and when the property is deserialized from an XML stream you could reconstruct a reference to a datasource object based on the identifier.

    Constructors

    StyleInfoPropertyReadXmlEventArgs(XmlReader, StyleInfoStore, StyleInfoProperty)

    Initializes a new StyleInfoPropertyReadXmlEventArgs object.

    Declaration
    public StyleInfoPropertyReadXmlEventArgs(XmlReader reader, StyleInfoStore store, StyleInfoProperty sip)
    Parameters
    Type Name Description
    System.Xml.XmlReader reader

    The System.Xml.XmlReader for the XML stream.

    StyleInfoStore store

    The style object that is deserialized.

    StyleInfoProperty sip

    The property that is being deserialized.

    Properties

    Reader

    Returns the System.Xml.XmlReader for the XML stream.

    Declaration
    public XmlReader Reader { get; }
    Property Value
    Type
    System.Xml.XmlReader

    Sip

    Returns the property that is being deserialized. Call of the Store to save the value for this property into the style object.

    Declaration
    public StyleInfoProperty Sip { get; }
    Property Value
    Type
    StyleInfoProperty

    Store

    Returns the style object that is deserialized.

    Declaration
    public StyleInfoStore Store { get; }
    Property Value
    Type
    StyleInfoStore

    Extension Methods

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