Rediger

Del via


AmbientTheme.ShowConfigErrors Property

Definition

Gets or sets a value that indicates whether the workflow design surface displays configuration errors.

public:
 virtual property bool ShowConfigErrors { bool get(); void set(bool value); };
public virtual bool ShowConfigErrors { get; set; }
member this.ShowConfigErrors : bool with get, set
Public Overridable Property ShowConfigErrors As Boolean

Property Value

true if the workflow design surface is to display configuration errors; otherwise, false. The default is true.

Examples

The following code example demonstrates how you can set ShowConfigErrors to false. Doing this for a workflow design surface means that none of the ActivityDesigner objects displayed on the design surface will display their associated DesignerAction objects.

This code example is part of the Tracking Profile Designer SDK Sample from the WorkflowDesignerControl.cs file. For more information, see Tracking Profile Designer Sample.

public WorkflowDesignerControl()
{
    InitializeComponent();

    WorkflowTheme.CurrentTheme.ReadOnly = false;
    WorkflowTheme.CurrentTheme.AmbientTheme.ShowConfigErrors = false;
    WorkflowTheme.CurrentTheme.ReadOnly = true;
}
Public Sub New()
    InitializeComponent()

    WorkflowTheme.CurrentTheme.ReadOnly = False
    WorkflowTheme.CurrentTheme.AmbientTheme.ShowConfigErrors = False
    WorkflowTheme.CurrentTheme.ReadOnly = True
End Sub

Applies to

See also