Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

member SetReadOnlyPropertyValue : 
        dependencyProperty:DependencyProperty * 
        value:Object -> unit

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