[]
        
(Showing Draft Content)

C1.Win.C1Themes.BaseThemeProvider

BaseThemeProvider Class

Base ThemeProvider class working with theme.

Inheritance
BaseThemeProvider
Namespace: C1.Win.C1Themes
Assembly: C1.Win.4.8.dll
Syntax
public abstract class BaseThemeProvider : INotifyPropertyChanged, IDisposable

Constructors

Name Description
BaseThemeProvider()

Initializes a new instance of the BaseThemeProvider.

BaseThemeProvider(Control)

Initializes a new instance of the BaseThemeProvider.

Properties

Name Description
Control

Gets or sets owner control.

ControlFont

Obsolete property. Use Control property instead.

CurrentTheme

Gets the current theme.

DefaultTheme

Gets the default theme.

EmptyTheme

Gets an empty theme.

InnerTheme

Gets the current C1Theme.

IsDisposed

Gets a value indicating whether the object has been disposed.

Updating

Gets value indicating whether the current theme is updating now. Deny events until the end of the operation.

Methods

Name Description
ApplyTheme(object)

Applies a new C1Theme to a style

BeginUpdate()

Start editing the current theme.

CreateEmptyTheme()

Creates a new instance of an current empty theme.

Dispose()

Releases all unmanaged resources.

Dispose(bool)

Releases all unmanaged resources.

EndUpdate()

Stop editing the current theme.

OnPropertyChanged(object, PropertyChangedEventArgs)

Raises the PropertyChanged event.

Events

Name Description
PropertyChanged

Fires when any properties change.