Edit

Share via


FrameworkElementHelpers.BindToProperty Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static void BindToProperty(System::Windows::FrameworkElement ^ targetControl, System::Object ^ sourceObject, System::String ^ sourcePropertyPath, System::Windows::DependencyProperty ^ targetDependencyProperty);
public static void BindToProperty (this System.Windows.FrameworkElement targetControl, object sourceObject, string sourcePropertyPath, System.Windows.DependencyProperty targetDependencyProperty);
static member BindToProperty : System.Windows.FrameworkElement * obj * string * System.Windows.DependencyProperty -> unit
<Extension()>
Public Sub BindToProperty (targetControl As FrameworkElement, sourceObject As Object, sourcePropertyPath As String, targetDependencyProperty As DependencyProperty)

Parameters

targetControl
FrameworkElement
sourceObject
Object
sourcePropertyPath
String
targetDependencyProperty
DependencyProperty

Applies to