DependencyObject.SetValueBase(DependencyProperty, Object) Method
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.
Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object).
public:
void SetValueBase(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty, System::Object ^ value);
public void SetValueBase(System.Workflow.ComponentModel.DependencyProperty dependencyProperty, object value);
member this.SetValueBase : System.Workflow.ComponentModel.DependencyProperty * obj -> unit
Public Sub SetValueBase (dependencyProperty As DependencyProperty, value As Object)
- dependencyProperty
- DependencyProperty
The DependencyProperty to be set to the Object.
- value
- Object
The Object that becomes the value of the DependencyProperty.
dependencyProperty
is a null reference (Nothing
in Visual Basic).
This method is useful inside the SetValue override implementation. Typically, the SetValue override code would do some custom logic before calling the SetValueBase method.
For setting a SetValue override, PropertyMetadata can be used in DependencyProperty, Register, or RegisterAttached calls.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: