Share via


XamlBindingHelper.SetPropertyFromDouble Method

Definition

Sets a DependencyProperty from a Double value.

public:
 static void SetPropertyFromDouble(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, double value);
 static void SetPropertyFromDouble(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, double const& value);
public static void SetPropertyFromDouble(object dependencyObject, DependencyProperty propertyToSet, double value);
function setPropertyFromDouble(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromDouble (dependencyObject As Object, propertyToSet As DependencyProperty, value As Double)

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
Double

double

The value to set.

Remarks

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

Applies to