XamlBindingHelper.SetPropertyFromRect 方法

定义

Rect 值设置 DependencyProperty

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

参数

dependencyObject
Object

Platform::Object

IInspectable

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

propertyToSet
DependencyProperty

将值写入到的属性。

value
Rect

要设置的值。

注解

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

适用于