AmbientTheme.ShowConfigErrors Propriedade

Definição

Obtém ou define um valor que indica se a superfície de design do fluxo de trabalho exibe erros de configuração.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

Valor da propriedade

Boolean

true se a superfície de design do fluxo de trabalho for exibir erros de configuração; caso contrário, false .true if the workflow design surface is to display configuration errors; otherwise, false. O padrão é true.The default is true.

Exemplos

O exemplo de código a seguir demonstra como você pode definir como ShowConfigErrors false.The following code example demonstrates how you can set ShowConfigErrors to false. Fazer isso para uma superfície de design de fluxo de trabalho significa que nenhum dos ActivityDesigner objetos exibidos na superfície de design exibirá seus DesignerAction objetos associados.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.

Este exemplo de código faz parte do exemplo de SDK do designer do perfil de rastreamento do arquivo WorkflowDesignerControl.cs.This code example is part of the Tracking Profile Designer SDK Sample from the WorkflowDesignerControl.cs file. Para obter mais informações, consulte controle do designer de perfil de rastreamento.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

Aplica-se a