XamlBindingHelper.SetPropertyFromDouble 方法

定义

Double 值设置 DependencyProperty

public:
 static void SetPropertyFromDouble(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, double value);
 static void SetPropertyFromDouble(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, double const& value);
public static void SetPropertyFromDouble(object dependencyObject, DependencyProperty propertyToSet, double value);
function setPropertyFromDouble(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromDouble (dependencyObject As Object, propertyToSet As DependencyProperty, value As Double)

参数

dependencyObject
Object

Platform::Object

IInspectable

要设置的属性所属的 对象。

propertyToSet
DependencyProperty

将值写入到的属性。

value
Double

double

要设置的值。

注解

此方法用于 XAML 编译器生成的代码。

适用于