FrameworkElementHelpers.BindToControlDependencyProperty 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.
Overloads
BindToControlDependencyProperty(FrameworkElement, FrameworkElement, String, DependencyProperty)
public:
[System::Runtime::CompilerServices::Extension]
static void BindToControlDependencyProperty(System::Windows::FrameworkElement ^ targetControl, System::Windows::FrameworkElement ^ sourceControl, System::String ^ sourceDependencyPropertyName, System::Windows::DependencyProperty ^ targetDependencyProperty);
public static void BindToControlDependencyProperty (this System.Windows.FrameworkElement targetControl, System.Windows.FrameworkElement sourceControl, string sourceDependencyPropertyName, System.Windows.DependencyProperty targetDependencyProperty);
static member BindToControlDependencyProperty : System.Windows.FrameworkElement * System.Windows.FrameworkElement * string * System.Windows.DependencyProperty -> unit
<Extension()>
Public Sub BindToControlDependencyProperty (targetControl As FrameworkElement, sourceControl As FrameworkElement, sourceDependencyPropertyName As String, targetDependencyProperty As DependencyProperty)
Parameters
- targetControl
- FrameworkElement
- sourceControl
- FrameworkElement
- sourceDependencyPropertyName
- String
- targetDependencyProperty
- DependencyProperty
Applies to
BindToControlDependencyProperty(FrameworkElement, FrameworkElement, String, BindingMode, DependencyProperty)
public:
[System::Runtime::CompilerServices::Extension]
static void BindToControlDependencyProperty(System::Windows::FrameworkElement ^ targetControl, System::Windows::FrameworkElement ^ sourceControl, System::String ^ sourceDependencyPropertyName, System::Windows::Data::BindingMode bindingMode, System::Windows::DependencyProperty ^ targetDependencyProperty);
public static void BindToControlDependencyProperty (this System.Windows.FrameworkElement targetControl, System.Windows.FrameworkElement sourceControl, string sourceDependencyPropertyName, System.Windows.Data.BindingMode bindingMode, System.Windows.DependencyProperty targetDependencyProperty);
static member BindToControlDependencyProperty : System.Windows.FrameworkElement * System.Windows.FrameworkElement * string * System.Windows.Data.BindingMode * System.Windows.DependencyProperty -> unit
Parameters
- targetControl
- FrameworkElement
- sourceControl
- FrameworkElement
- sourceDependencyPropertyName
- String
- bindingMode
- BindingMode
- 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