XamlBindingHelper.SetPropertyFromSize 方法

定义

Size 值设置 DependencyProperty

public:
 static void SetPropertyFromSize(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, Size value);
 static void SetPropertyFromSize(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, Size const& value);
public static void SetPropertyFromSize(object dependencyObject, DependencyProperty propertyToSet, Size value);
function setPropertyFromSize(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromSize (dependencyObject As Object, propertyToSet As DependencyProperty, value As Size)

参数

dependencyObject
Object

Platform::Object

IInspectable

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

propertyToSet
DependencyProperty

将值写入到的属性。

value
Size

要设置的值。

注解

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

适用于