Condividi tramite


XamlBindingHelper.SetPropertyFromSingle Metodo

Definizione

Imposta dependencyProperty da un valore Single .

public:
 static void SetPropertyFromSingle(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, float value);
 static void SetPropertyFromSingle(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, float const& value);
public static void SetPropertyFromSingle(object dependencyObject, DependencyProperty propertyToSet, float value);
function setPropertyFromSingle(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromSingle (dependencyObject As Object, propertyToSet As DependencyProperty, value As Single)

Parametri

dependencyObject
Object

Platform::Object

IInspectable

Oggetto a cui appartiene la proprietà impostata.

propertyToSet
DependencyProperty

Proprietà in cui viene scritto il valore.

value
Single

float

Il valore da impostare.

Commenti

Questo metodo viene usato nel codice generato dal compilatore XAML.

Si applica a