DesignerTheme.ReadOnly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the designer theme is read-only.
public:
property bool ReadOnly { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool ReadOnly { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ReadOnly : bool
Public ReadOnly Property ReadOnly As Boolean
Property Value
true
if DesignerTheme is read-only; otherwise, false
. The default is false
.
- Attributes
Remarks
If the WorkflowTheme that the DesignerTheme is initialized with is not a null reference (Nothing
in Visual Basic), ReadOnly obtains its value from the WorkflowTheme.ReadOnly property. If the WorkflowTheme is a null reference (Nothing
), ReadOnly is false
.
If the WorkflowTheme is assigned to the WorkflowTheme.CurrentTheme, the ReadOnly property is set to true
, and properties on all designer themes associated with this theme cannot be changed. If required, properties can be set after loading the theme but before assigning it to the CurrentTheme.
Applies to
.NET