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