[]
        
(Showing Draft Content)

C1.Win.Ribbon.C1Ribbon.Load

Load Method

Load(string)

Loads a Ribbon definition from an XML file.

Declaration
public bool Load(string fileName)
Parameters
Type Name Description
string fileName

Name of the file that contains the Ribbon definition.

Returns
Type Description
bool

False if the file is not in the expected format.

Load(Stream)

Loads a Ribbon definition from a Stream.

Declaration
public bool Load(Stream stream)
Parameters
Type Name Description
Stream stream

Stream that contains the Ribbon definition.

Returns
Type Description
bool

False if the stream is not in the expected format.

Load(XmlDocument)

Loads a Ribbon definition from an XmlDocument.

Declaration
public bool Load(XmlDocument doc)
Parameters
Type Name Description
XmlDocument doc

XmlDocument that contains the Ribbon definition.

Returns
Type Description
bool

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