Quantum 3 3.0.5

Public Member Functions | Properties | List of all members
Quantum.ReadOnlyAttribute Class Reference

Attribute used to mark a field as read-only. More...

Inheritance diagram for Quantum.ReadOnlyAttribute:
Quantum.DecoratingPropertyAttribute Quantum.PropertyAttribute

Public Member Functions

 ReadOnlyAttribute ()
 

Properties

bool InEditMode = true [get, set]
 Should the field be read-only in edit mode? More...
 
bool InPlayMode = true [get, set]
 Should the field be read-only in play mode? More...
 

Additional Inherited Members

- Static Public Attributes inherited from Quantum.DecoratingPropertyAttribute
const int DefaultOrder = -10000
 The default order of the attribute. More...
 
- Protected Member Functions inherited from Quantum.DecoratingPropertyAttribute
 DecoratingPropertyAttribute (bool applyToCollection=false)
 Initializes a new instance with the default order. More...
 
 DecoratingPropertyAttribute (int order, bool applyToCollection=false)
 Initializes a new instance with the specified order. More...
 

Detailed Description

Attribute used to mark a field as read-only.

Property Documentation

◆ InPlayMode

bool Quantum.ReadOnlyAttribute.InPlayMode = true
getset

Should the field be read-only in play mode?

◆ InEditMode

bool Quantum.ReadOnlyAttribute.InEditMode = true
getset

Should the field be read-only in edit mode?