ReadOnlyState Class
Represents a ContextItem that is published in the editing context and that indicates whether the Windows Workflow Foundation designer is in a read-only state.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
System.Activities.Presentation::ContextItem
System.Activities.Presentation.Hosting::ReadOnlyState
| Name | Description | |
|---|---|---|
![]() | ReadOnlyState() | Initializes a new instance of the ReadOnlyState class. |
| Name | Description | |
|---|---|---|
![]() | IsReadOnly | Gets a value that indicates whether the object is read-only. |
![]() | ItemType | Gets the type of the current object.(Overrides ContextItem::ItemType.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Visual elements can bind to this property in order to provide different behavior in a read-only state (such as the ExpressionTextBox disallowing edits and setting the state to “Disabled”). If a hosting application would like to set the designer to a read-only state, this ContextItem can be retrieved and can be set to false.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

