Condividi tramite


XamlBindingHelper.SetPropertyFromDouble Metodo

Definizione

Imposta dependencyProperty da un valore Double .

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)

Parametri

dependencyObject
Object

Platform::Object

IInspectable

Oggetto a cui appartiene la proprietà impostata.

propertyToSet
DependencyProperty

Proprietà in cui viene scritto il valore.

value
Double

double

Il valore da impostare.

Commenti

Questo metodo viene usato nel codice generato dal compilatore XAML.

Si applica a