ThemeBinding

StockSharp.Xaml.Charting.Common.MarkupExtensions

Used to provide dynamic bindings to IThemeProvider resources (Brushes, Colors) inside a Ultrachart Theme. For an example of use, see the Default.xaml file in the source code

Erbt von: MarkupExtension

Konstruktoren

ThemeBinding()

Initializes a new instance of the ThemeBinding class.

Eigenschaften

Mode : BindingMode

Gets or sets the BindingMode.

Path : string

Gets or sets the path to the property on a IThemeProvider instance

Methoden

ProvideValue(IServiceProvider) : object

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

serviceProvider
A service provider helper that can provide services for the markup extension.

Rückgabe: The object value to set on the property where the extension is applied.