ReadOnlyState Class

Definition

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.

public ref class ReadOnlyState sealed : System::Activities::Presentation::ContextItem
public sealed class ReadOnlyState : System.Activities.Presentation.ContextItem
type ReadOnlyState = class
    inherit ContextItem
Public NotInheritable Class ReadOnlyState
Inherits ContextItem
Inheritance
ReadOnlyState

Remarks

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.

Constructors

ReadOnlyState()

Initializes a new instance of the ReadOnlyState class.

Properties

IsReadOnly

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

ItemType

Gets the type of the current object.

Methods

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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnItemChanged(EditingContext, ContextItem)

Represents a method that is called on the context item before it is stored in the context item manager. The previous item in the context item manager is passed as a parameter.

(Inherited from ContextItem)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to