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

继承自: MarkupExtension

构造函数

ThemeBinding()

Initializes a new instance of the ThemeBinding class.

属性

Mode : BindingMode

Gets or sets the BindingMode.

Path : string

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

方法

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.

返回值: The object value to set on the property where the extension is applied.