SetReadOnlyPropertyValue Method

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)

protected internal 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:
© 2016 Microsoft