Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetReadOnlyPropertyValue Method

DependencyObject.SetReadOnlyPropertyValue Method

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.

ExceptionCondition
ArgumentNullException

The dependencyProperty is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft