DesignerTheme.ReadOnly Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public bool ReadOnly { get; internal set; }

Property Value

Type: System.Boolean

true if DesignerTheme is read-only; otherwise, false. The default is false.

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.

.NET Framework
Available since 3.0
Return to top