UIHelperCreateThemeBinding(String, ThemePropertyConversionType) - метод
Создаёт привязку Binding к заданному свойству темы.
Пространство имён: Tessa.UIСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public static Binding CreateThemeBinding(
string propertyName,
ThemePropertyConversionType conversionType = ThemePropertyConversionType.Wpf
)
Public Shared Function CreateThemeBinding (
propertyName As String,
Optional conversionType As ThemePropertyConversionType = ThemePropertyConversionType.Wpf
) As Binding
public:
static Binding^ CreateThemeBinding(
String^ propertyName,
ThemePropertyConversionType conversionType = ThemePropertyConversionType::Wpf
)
static member CreateThemeBinding :
propertyName : string *
?conversionType : ThemePropertyConversionType
(* Defaults:
let _conversionType = defaultArg conversionType ThemePropertyConversionType.Wpf
*)
-> Binding
- propertyName String
- Имя свойства темы для привязки.
- conversionType ThemePropertyConversionType (Optional)
- Тип преобразования значения свойства.
BindingСозданная привязка.