XamlBindingHelper
XamlBindingHelper
XamlBindingHelper
XamlBindingHelper
Class
Definition
Provides helper methods for data binding.
public : sealed class XamlBindingHelper : IXamlBindingHelperpublic sealed class XamlBindingHelper : IXamlBindingHelperPublic NotInheritable Class XamlBindingHelper Implements IXamlBindingHelper// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
This class is for use in code that is generated by the XAML compiler.
Properties
DataTemplateComponentProperty DataTemplateComponentProperty DataTemplateComponentProperty DataTemplateComponentProperty
Identifies the DataTemplateComponent attached property.
public : static DependencyProperty DataTemplateComponentProperty { get; }public static DependencyProperty DataTemplateComponentProperty { get; }Public Static ReadOnly Property DataTemplateComponentProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the DataTemplateComponent attached property.
Methods
ConvertValue(TypeName, Object) ConvertValue(TypeName, Object) ConvertValue(TypeName, Object) ConvertValue(TypeName, Object)
Converts a value from a source type to a target type.
public : static PlatForm::Object ConvertValue(TypeName type, PlatForm::Object value)public static object ConvertValue(Type type, Object value)Public Static Function ConvertValue(type As Type, value As Object) As object// This API is not available in Javascript.
- type
- TypeName Type Type Type
The type to convert the value from.
- value
- PlatForm::Object Object Object Object
The value to convert.
The converted value.
Remarks
This method is for use in code that is generated by the XAML compiler.
GetDataTemplateComponent(DependencyObject) GetDataTemplateComponent(DependencyObject) GetDataTemplateComponent(DependencyObject) GetDataTemplateComponent(DependencyObject)
Gets the value of the DataTemplateComponent XAML attached property for a target element.
public : static IDataTemplateComponent GetDataTemplateComponent(DependencyObject element)public static IDataTemplateComponent GetDataTemplateComponent(DependencyObject element)Public Static Function GetDataTemplateComponent(element As DependencyObject) As IDataTemplateComponent// This API is not available in Javascript.
The object from which the property value is read.
The DataTemplateComponent XAML attached property value of the specified object.
Remarks
This method is for use in code that is generated by the XAML compiler.
ResumeRendering(UIElement) ResumeRendering(UIElement) ResumeRendering(UIElement) ResumeRendering(UIElement)
Resumes rendering of the specified element.
public : static void ResumeRendering(UIElement target)public static void ResumeRendering(UIElement target)Public Static Function ResumeRendering(target As UIElement) As void// This API is not available in Javascript.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetDataTemplateComponent(DependencyObject, IDataTemplateComponent) SetDataTemplateComponent(DependencyObject, IDataTemplateComponent) SetDataTemplateComponent(DependencyObject, IDataTemplateComponent) SetDataTemplateComponent(DependencyObject, IDataTemplateComponent)
Sets the value of the DataTemplateComponent XAML attached property for a target element.
public : static void SetDataTemplateComponent(DependencyObject element, IDataTemplateComponent value)public static void SetDataTemplateComponent(DependencyObject element, IDataTemplateComponent value)Public Static Function SetDataTemplateComponent(element As DependencyObject, value As IDataTemplateComponent) As void// This API is not available in Javascript.
The object to which the property value is written.
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromBoolean(Object, DependencyProperty, Boolean) SetPropertyFromBoolean(Object, DependencyProperty, Boolean) SetPropertyFromBoolean(Object, DependencyProperty, Boolean) SetPropertyFromBoolean(Object, DependencyProperty, Boolean)
Sets a DependencyProperty from a Boolean value.
public : static void SetPropertyFromBoolean(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, bool value)public static void SetPropertyFromBoolean(Object dependencyObject, DependencyProperty propertyToSet, Boolean value)Public Static Function SetPropertyFromBoolean(dependencyObject As Object, propertyToSet As DependencyProperty, value As Boolean) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- bool Boolean Boolean Boolean
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromByte(Object, DependencyProperty, Byte) SetPropertyFromByte(Object, DependencyProperty, Byte) SetPropertyFromByte(Object, DependencyProperty, Byte) SetPropertyFromByte(Object, DependencyProperty, Byte)
Sets a DependencyProperty from a Byte value.
public : static void SetPropertyFromByte(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, Byte value)public static void SetPropertyFromByte(Object dependencyObject, DependencyProperty propertyToSet, Byte value)Public Static Function SetPropertyFromByte(dependencyObject As Object, propertyToSet As DependencyProperty, value As Byte) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- Byte Byte Byte Byte
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromChar16(Object, DependencyProperty, Char) SetPropertyFromChar16(Object, DependencyProperty, Char) SetPropertyFromChar16(Object, DependencyProperty, Char) SetPropertyFromChar16(Object, DependencyProperty, Char)
Sets a DependencyProperty from a Char value.
public : static void SetPropertyFromChar16(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, Char value)public static void SetPropertyFromChar16(Object dependencyObject, DependencyProperty propertyToSet, Char value)Public Static Function SetPropertyFromChar16(dependencyObject As Object, propertyToSet As DependencyProperty, value As Char) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- Char Char Char Char
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromDateTime(Object, DependencyProperty, DateTime) SetPropertyFromDateTime(Object, DependencyProperty, DateTime) SetPropertyFromDateTime(Object, DependencyProperty, DateTime) SetPropertyFromDateTime(Object, DependencyProperty, DateTime)
Sets a DependencyProperty from a DateTime value.
public : static void SetPropertyFromDateTime(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, DateTime value)public static void SetPropertyFromDateTime(Object dependencyObject, DependencyProperty propertyToSet, DateTimeOffset value)Public Static Function SetPropertyFromDateTime(dependencyObject As Object, propertyToSet As DependencyProperty, value As DateTimeOffset) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- DateTime DateTimeOffset DateTimeOffset DateTimeOffset
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromDouble(Object, DependencyProperty, Double) SetPropertyFromDouble(Object, DependencyProperty, Double) SetPropertyFromDouble(Object, DependencyProperty, Double) SetPropertyFromDouble(Object, DependencyProperty, Double)
Sets a DependencyProperty from a Double value.
public : static void SetPropertyFromDouble(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, double value)public static void SetPropertyFromDouble(Object dependencyObject, DependencyProperty propertyToSet, Double value)Public Static Function SetPropertyFromDouble(dependencyObject As Object, propertyToSet As DependencyProperty, value As Double) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- double Double Double Double
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromInt32(Object, DependencyProperty, Int32) SetPropertyFromInt32(Object, DependencyProperty, Int32) SetPropertyFromInt32(Object, DependencyProperty, Int32) SetPropertyFromInt32(Object, DependencyProperty, Int32)
Sets a DependencyProperty from a Int32 value.
public : static void SetPropertyFromInt32(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, int value)public static void SetPropertyFromInt32(Object dependencyObject, DependencyProperty propertyToSet, Int32 value)Public Static Function SetPropertyFromInt32(dependencyObject As Object, propertyToSet As DependencyProperty, value As Int32) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- int Int32 Int32 Int32
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromInt64(Object, DependencyProperty, Int64) SetPropertyFromInt64(Object, DependencyProperty, Int64) SetPropertyFromInt64(Object, DependencyProperty, Int64) SetPropertyFromInt64(Object, DependencyProperty, Int64)
Sets a DependencyProperty from a Int64 value.
public : static void SetPropertyFromInt64(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, long value)public static void SetPropertyFromInt64(Object dependencyObject, DependencyProperty propertyToSet, Int64 value)Public Static Function SetPropertyFromInt64(dependencyObject As Object, propertyToSet As DependencyProperty, value As Int64) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- long Int64 Int64 Int64
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromObject(Object, DependencyProperty, Object) SetPropertyFromObject(Object, DependencyProperty, Object) SetPropertyFromObject(Object, DependencyProperty, Object) SetPropertyFromObject(Object, DependencyProperty, Object)
Sets a DependencyProperty from a Object value.
public : static void SetPropertyFromObject(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, PlatForm::Object value)public static void SetPropertyFromObject(Object dependencyObject, DependencyProperty propertyToSet, Object value)Public Static Function SetPropertyFromObject(dependencyObject As Object, propertyToSet As DependencyProperty, value As Object) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- PlatForm::Object Object Object Object
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromPoint(Object, DependencyProperty, Point) SetPropertyFromPoint(Object, DependencyProperty, Point) SetPropertyFromPoint(Object, DependencyProperty, Point) SetPropertyFromPoint(Object, DependencyProperty, Point)
Sets a DependencyProperty from a Point value.
public : static void SetPropertyFromPoint(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, Point value)public static void SetPropertyFromPoint(Object dependencyObject, DependencyProperty propertyToSet, Point value)Public Static Function SetPropertyFromPoint(dependencyObject As Object, propertyToSet As DependencyProperty, value As Point) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromRect(Object, DependencyProperty, Rect) SetPropertyFromRect(Object, DependencyProperty, Rect) SetPropertyFromRect(Object, DependencyProperty, Rect) SetPropertyFromRect(Object, DependencyProperty, Rect)
Sets a DependencyProperty from a Rect value.
public : static void SetPropertyFromRect(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, Rect value)public static void SetPropertyFromRect(Object dependencyObject, DependencyProperty propertyToSet, Rect value)Public Static Function SetPropertyFromRect(dependencyObject As Object, propertyToSet As DependencyProperty, value As Rect) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromSingle(Object, DependencyProperty, Single) SetPropertyFromSingle(Object, DependencyProperty, Single) SetPropertyFromSingle(Object, DependencyProperty, Single) SetPropertyFromSingle(Object, DependencyProperty, Single)
Sets a DependencyProperty from a Single value.
public : static void SetPropertyFromSingle(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, float value)public static void SetPropertyFromSingle(Object dependencyObject, DependencyProperty propertyToSet, Single value)Public Static Function SetPropertyFromSingle(dependencyObject As Object, propertyToSet As DependencyProperty, value As Single) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- float Single Single Single
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromSize(Object, DependencyProperty, Size) SetPropertyFromSize(Object, DependencyProperty, Size) SetPropertyFromSize(Object, DependencyProperty, Size) SetPropertyFromSize(Object, DependencyProperty, Size)
Sets a DependencyProperty from a Size value.
public : static void SetPropertyFromSize(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, Size value)public static void SetPropertyFromSize(Object dependencyObject, DependencyProperty propertyToSet, Size value)Public Static Function SetPropertyFromSize(dependencyObject As Object, propertyToSet As DependencyProperty, value As Size) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromString(Object, DependencyProperty, String) SetPropertyFromString(Object, DependencyProperty, String) SetPropertyFromString(Object, DependencyProperty, String) SetPropertyFromString(Object, DependencyProperty, String)
Sets a DependencyProperty from a String value.
public : static void SetPropertyFromString(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, PlatForm::String value)public static void SetPropertyFromString(Object dependencyObject, DependencyProperty propertyToSet, String value)Public Static Function SetPropertyFromString(dependencyObject As Object, propertyToSet As DependencyProperty, value As String) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- PlatForm::String String String String
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromTimeSpan(Object, DependencyProperty, TimeSpan) SetPropertyFromTimeSpan(Object, DependencyProperty, TimeSpan) SetPropertyFromTimeSpan(Object, DependencyProperty, TimeSpan) SetPropertyFromTimeSpan(Object, DependencyProperty, TimeSpan)
Sets a DependencyProperty from a TimeSpan value.
public : static void SetPropertyFromTimeSpan(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, TimeSpan value)public static void SetPropertyFromTimeSpan(Object dependencyObject, DependencyProperty propertyToSet, TimeSpan value)Public Static Function SetPropertyFromTimeSpan(dependencyObject As Object, propertyToSet As DependencyProperty, value As TimeSpan) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- TimeSpan TimeSpan TimeSpan TimeSpan
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromUInt32(Object, DependencyProperty, UInt32) SetPropertyFromUInt32(Object, DependencyProperty, UInt32) SetPropertyFromUInt32(Object, DependencyProperty, UInt32) SetPropertyFromUInt32(Object, DependencyProperty, UInt32)
Sets a DependencyProperty from a UInt32 value.
public : static void SetPropertyFromUInt32(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, unsigned int value)public static void SetPropertyFromUInt32(Object dependencyObject, DependencyProperty propertyToSet, UInt32 value)Public Static Function SetPropertyFromUInt32(dependencyObject As Object, propertyToSet As DependencyProperty, value As UInt32) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- unsigned int UInt32 UInt32 UInt32
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromUInt64(Object, DependencyProperty, UInt64) SetPropertyFromUInt64(Object, DependencyProperty, UInt64) SetPropertyFromUInt64(Object, DependencyProperty, UInt64) SetPropertyFromUInt64(Object, DependencyProperty, UInt64)
Sets a DependencyProperty from a UInt64 value.
public : static void SetPropertyFromUInt64(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, unsigned __int64 value)public static void SetPropertyFromUInt64(Object dependencyObject, DependencyProperty propertyToSet, UInt64 value)Public Static Function SetPropertyFromUInt64(dependencyObject As Object, propertyToSet As DependencyProperty, value As UInt64) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- unsigned __int64 UInt64 UInt64 UInt64
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SetPropertyFromUri(Object, DependencyProperty, Uri) SetPropertyFromUri(Object, DependencyProperty, Uri) SetPropertyFromUri(Object, DependencyProperty, Uri) SetPropertyFromUri(Object, DependencyProperty, Uri)
Sets a DependencyProperty from a Uri value.
public : static void SetPropertyFromUri(PlatForm::Object dependencyObject, DependencyProperty propertyToSet, Uri value)public static void SetPropertyFromUri(Object dependencyObject, DependencyProperty propertyToSet, Uri value)Public Static Function SetPropertyFromUri(dependencyObject As Object, propertyToSet As DependencyProperty, value As Uri) As void// This API is not available in Javascript.
- dependencyObject
- PlatForm::Object Object Object Object
The object to which the property being set belongs.
The property to which the value is written.
- value
- Uri Uri Uri Uri
The value to set.
Remarks
This method is for use in code that is generated by the XAML compiler.
SuspendRendering(UIElement) SuspendRendering(UIElement) SuspendRendering(UIElement) SuspendRendering(UIElement)
Suspends rendering of the specified element.
public : static void SuspendRendering(UIElement target)public static void SuspendRendering(UIElement target)Public Static Function SuspendRendering(target As UIElement) As void// This API is not available in Javascript.
Remarks
This method is for use in code that is generated by the XAML compiler.