XamlBindingHelper.SetPropertyFromInt32 方法

定义

Int32 值设置 DependencyProperty

public:
 static void SetPropertyFromInt32(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, int value);
 static void SetPropertyFromInt32(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, int const& value);
public static void SetPropertyFromInt32(object dependencyObject, DependencyProperty propertyToSet, int value);
function setPropertyFromInt32(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromInt32 (dependencyObject As Object, propertyToSet As DependencyProperty, value As Integer)

参数

dependencyObject
Object

Platform::Object

IInspectable

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

propertyToSet
DependencyProperty

将值写入到的属性。

value
Int32

int

要设置的值。

注解

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

适用于