XamlBindingHelper.SetPropertyFromSingle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a DependencyProperty from a Single value.
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)
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
-
Single
float
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.