[]
        
(Showing Draft Content)

C1.Win.Ribbon.C1StatusBar.Load

Load Method

Load(string)

Loads a status bar definition from an XML file.

Declaration
public bool Load(string fileName)
Public Function Load(fileName As String) As Boolean
Parameters
Type Name Description
string fileName

Name of the file that contains the status bar definition.

Returns
Type Description
bool

Load(Stream)

Loads a status bar definition from a Stream.

Declaration
public bool Load(Stream stream)
Public Function Load(stream As Stream) As Boolean
Parameters
Type Name Description
Stream stream

Stream that contains the status bar definition.

Returns
Type Description
bool

False if the stream is not in the expected format.

Load(XmlDocument)

Loads a status bar definition from an XmlDocument.

Declaration
public bool Load(XmlDocument doc)
Public Function Load(doc As XmlDocument) As Boolean
Parameters
Type Name Description
XmlDocument doc

XmlDocument that contains the status bar definition.

Returns
Type Description
bool

False if the XML document is not in the expected format.