ReadOnlyState Class

.NET Framework (current version)
 

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.

Namespace:   System.Activities.Presentation.Hosting
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System::Object
  System.Activities.Presentation::ContextItem
    System.Activities.Presentation.Hosting::ReadOnlyState

public ref class ReadOnlyState sealed : ContextItem

NameDescription
System_CAPS_pubmethodReadOnlyState()

Initializes a new instance of the ReadOnlyState class.

NameDescription
System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the object is read-only.

System_CAPS_pubpropertyItemType

Gets the type of the current object.(Overrides ContextItem::ItemType.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

.NET Framework
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.

Return to top
Show: