ThemeManager

StockSharp.Xaml.Charting

Provides automatic themeing of UltrachartSurface via the Theme property.

プロパティ

AllThemes : IList<string>

Gets a list of all available themes

ThemeProvider : IThemeProvider

Gets IThemeProvider instance

メソッド

AddTheme(string, ResourceDictionary)

Add new theme and themeProvider into _theme and ThemeProviders respectively

theme
dictionary
GetTheme(DependencyObject) : string

Gets the value of the Theme Attached Property.

d
The dependency object.

戻り値: The current Theme.

GetThemeProvider(string) : IThemeProvider

Gets a IThemeProvider instance for the named

theme
the named

戻り値: a IThemeProvider instance

RemoveTheme(string)

Add theme by string Key from _theme and appropriate themeProvider from ThemeProviders

theme
SetTheme(DependencyObject, string)

Sets the value of the Theme Attached property. For a list of All Themes, see the AllThemes property.

d
The dependency object.
value
The current theme.

イベント

ThemeApplied : EventHandler<ThemeAppliedEventArgs>

Raised when a new theme has been applied to the Ultrachart application.

フィールド

ThemeProperty : DependencyProperty

Defines the Theme dependency property.