Class StyleInfoPropertyReadXmlEventArgs
Provides data for the ReadXml event.
Inherited Members
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
If you handle this event, you set Handled to True.
Call
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
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 |