XamlBindingHelper.SetPropertyFromUInt32 方法

定义

UInt32 值设置 DependencyProperty

public:
 static void SetPropertyFromUInt32(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, unsigned int value);
 static void SetPropertyFromUInt32(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, uint32_t const& value);
public static void SetPropertyFromUInt32(object dependencyObject, DependencyProperty propertyToSet, uint value);
function setPropertyFromUInt32(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromUInt32 (dependencyObject As Object, propertyToSet As DependencyProperty, value As UInteger)

参数

dependencyObject
Object

Platform::Object

IInspectable

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

propertyToSet
DependencyProperty

将值写入到的属性。

value
UInt32

unsigned int

uint32_t

要设置的值。

注解

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

适用于