FrameworkElementHelpers.BindToProperty 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for