DependencyObject::SetReadOnlyPropertyValue Method (DependencyProperty^, Object^)
.NET Framework (current version)
Sets the value of a DependencyProperty, which is read-only.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public protected: void SetReadOnlyPropertyValue( DependencyProperty^ dependencyProperty, Object^ value )
Parameters
- dependencyProperty
-
Type:
System.Workflow.ComponentModel::DependencyProperty^
The DependencyProperty.
- value
-
Type:
System::Object^
The Object that represents the value.
| Exception | Condition |
|---|---|
| ArgumentNullException | The dependencyProperty is a null reference (Nothing in Visual Basic). |
.NET Framework
Available since 3.0
Available since 3.0
Show: