Share via


DisplayState.IsReadOnly Property

Definition

Gets a value indicating whether this DisplayState and its child views and paths can be modified.

public:
 property bool IsReadOnly { bool get(); };
bool IsReadOnly();
public bool IsReadOnly { get; }
var boolean = displayState.isReadOnly;
Public ReadOnly Property IsReadOnly As Boolean

Property Value

Boolean

bool

true if this DisplayState and its child views and paths cannot be modified, otherwise false.

Remarks

To take ownership of targets and create modifiable subset of this state object, use DisplayManager.TryAcquireTargetsAndCreateSubstate.

Applies to