ThemeManager
StockSharp.Xaml.Charting
Provides automatic themeing of UltrachartSurface via the Theme property.
Propriedades
ThemeProvider : IThemeProvider
Gets IThemeProvider instance
Métodos
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.
Retorna: The current Theme.
GetThemeProvider(string) : IThemeProvider
Gets a IThemeProvider instance for the named
- theme
- the named
Retorna: 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.
Eventos
ThemeApplied : EventHandler<ThemeAppliedEventArgs>
Raised when a new theme has been applied to the Ultrachart application.
Campos
ThemeProperty : DependencyProperty
Defines the Theme dependency property.