[]
        
(Showing Draft Content)

C1.Win.C1Themes.C1Theme.Load

Load Method

Load(Stream)

Loads the current theme from a stream. This method assumes that stream contains theme in Xml format.

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

The source stream.

Load(Stream, C1ThemeFormat)

Loads the current theme from a stream.

Declaration
public void Load(Stream stream, C1ThemeFormat format)
Parameters
Type Name Description
Stream stream

The source stream.

C1ThemeFormat format

The theme persistence format to use.

Load(string)

Loads the current theme from a file. The theme format determined on the base of the file extension.

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

The source file name.

Load(string, C1ThemeFormat)

Loads the current theme from a file.

Declaration
public void Load(string fileName, C1ThemeFormat format)
Parameters
Type Name Description
string fileName

The source file name.

C1ThemeFormat format

The theme persistence format to use.