مشاركة عبر


XamlBindingHelper.SetPropertyFromInt32 Method

Definition

Sets a DependencyProperty from a Int32 value.

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)

Parameters

dependencyObject
Object

Platform::Object

IInspectable

The object to which the property being set belongs.

propertyToSet
DependencyProperty

The property to which the value is written.

value
Int32

int

The value to set.

Remarks

This method is for use in code that is generated by the XAML compiler.

Applies to