BindingOperations.GetBindingBase(DependencyObject, DependencyProperty) 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.
Retrieves the BindingBase object that is set on the specified property.
public:
static System::Windows::Data::BindingBase ^ GetBindingBase(System::Windows::DependencyObject ^ target, System::Windows::DependencyProperty ^ dp);
public static System.Windows.Data.BindingBase GetBindingBase (System.Windows.DependencyObject target, System.Windows.DependencyProperty dp);
static member GetBindingBase : System.Windows.DependencyObject * System.Windows.DependencyProperty -> System.Windows.Data.BindingBase
Public Shared Function GetBindingBase (target As DependencyObject, dp As DependencyProperty) As BindingBase
Parameters
- target
- DependencyObject
The object where dp
is.
The binding target property from which to retrieve the BindingBase object.
Returns
The BindingBase object that is set on the given property or null
if no binding object has been set.
Exceptions
The target
and dp
parameters cannot be null
.
Remarks
The BindingBase class is the common base class for the Binding, PriorityBinding, and MultiBinding classes. You can use the GetBinding, GetPriorityBinding, and GetMultiBinding methods if you know in advance the type of binding that is set on the property.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기