[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.ReadXml

ReadXml Method

ReadXml(string, XmlOptions)

Loads the grid from an Xml document.

Declaration
public void ReadXml(string fileName, XmlOptions options = XmlOptions.All)
Public Sub ReadXml(fileName As String, Optional options As XmlOptions = XmlOptions.All)
Parameters
Type Name Description
string fileName

Name of the file to load, including the path.

XmlOptions options

Options that allows to choose which elements of FlexGrid should be loaded

ReadXml(TextReader, XmlOptions)

Loads the grid from an Xml document.

Declaration
public void ReadXml(TextReader tr, XmlOptions options = XmlOptions.All)
Public Sub ReadXml(tr As TextReader, Optional options As XmlOptions = XmlOptions.All)
Parameters
Type Name Description
TextReader tr

TextReader object to use for loading the grid.

XmlOptions options

Options that allows to choose which elements of FlexGrid should be loaded

ReadXml(Stream, XmlOptions)

Loads the grid from an Xml document.

Declaration
public void ReadXml(Stream stream, XmlOptions options = XmlOptions.All)
Public Sub ReadXml(stream As Stream, Optional options As XmlOptions = XmlOptions.All)
Parameters
Type Name Description
Stream stream

Stream object to use for loading the grid.

XmlOptions options

Options that allows to choose which elements of FlexGrid should be loaded

ReadXml(XmlReader, XmlOptions)

Loads the grid from an Xml document.

Declaration
public void ReadXml(XmlReader xr, XmlOptions options = XmlOptions.All)
Public Sub ReadXml(xr As XmlReader, Optional options As XmlOptions = XmlOptions.All)
Parameters
Type Name Description
XmlReader xr

System.Xml.XmlReader object to use for loading the grid.

XmlOptions options

Options that allows to choose which elements of FlexGrid should be loaded

ReadXml(XmlDocument)

Loads the grid from an Xml document.

Declaration
public virtual void ReadXml(XmlDocument doc)
Public Overridable Sub ReadXml(doc As XmlDocument)
Parameters
Type Name Description
XmlDocument doc

System.Xml.XmlDocument object to use for loading the grid.

ReadXml(XmlDocument, XmlOptions)

Loads the grid from an Xml document.

Declaration
public void ReadXml(XmlDocument doc, XmlOptions options)
Public Sub ReadXml(doc As XmlDocument, options As XmlOptions)
Parameters
Type Name Description
XmlDocument doc

System.Xml.XmlDocument object to use for loading the grid.

XmlOptions options

Options that allows to choose which elements of FlexGrid should be loaded

ReadXml(XmlNode)

Loads the grid from an Xml document.

Declaration
public virtual void ReadXml(XmlNode node)
Public Overridable Sub ReadXml(node As XmlNode)
Parameters
Type Name Description
XmlNode node

System.Xml.XmlNode object to use for loading the grid.

ReadXml(XmlNode, XmlOptions)

Loads the grid from an Xml document.

Declaration
public void ReadXml(XmlNode node, XmlOptions options)
Public Sub ReadXml(node As XmlNode, options As XmlOptions)
Parameters
Type Name Description
XmlNode node

System.Xml.XmlNode object to use for loading the grid.

XmlOptions options

Options that allows to choose which elements of FlexGrid should be loaded