XamlBindingHelper.SetPropertyFromSize Method

Definition

Sets a DependencyProperty from a Size value.

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)

Parameters

dependencyObject
Object

IInspectable

The object to which the property being set belongs.

propertyToSet
DependencyProperty

The property to which the value is written.

value
Size

The value to set.

Remarks

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

Applies to