XamlBindingHelper.SetPropertyFromUri(Object, DependencyProperty, Uri) Method

Definition

Sets a DependencyProperty from a Uri value.

public:
 static void SetPropertyFromUri(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, Uri ^ value);
 static void SetPropertyFromUri(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, Uri const& value);
public static void SetPropertyFromUri(object dependencyObject, DependencyProperty propertyToSet, System.Uri value);
function setPropertyFromUri(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromUri (dependencyObject As Object, propertyToSet As DependencyProperty, value As Uri)

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
Uri Uri

The value to set.

Remarks

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

Applies to