DependencyObject::SetReadOnlyPropertyValue Method (DependencyProperty^, Object^)

 

Sets the value of a DependencyProperty, which is read-only.

Namespace:   System.Workflow.ComponentModel
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
Return to top
Show: