WorkflowTheme.AmbientTheme Proprietà

Definizione

Ottiene l'oggetto AmbientTheme associato all'oggetto WorkflowTheme.

public:
 property System::Workflow::ComponentModel::Design::AmbientTheme ^ AmbientTheme { System::Workflow::ComponentModel::Design::AmbientTheme ^ get(); };
public System.Workflow.ComponentModel.Design.AmbientTheme AmbientTheme { get; }
member this.AmbientTheme : System.Workflow.ComponentModel.Design.AmbientTheme
Public ReadOnly Property AmbientTheme As AmbientTheme

Valore della proprietà

AmbientTheme

Oggetto AmbientTheme che descrive i valori predefiniti dell'aspetto di WorkflowTheme.

Esempio

Nell'esempio seguente viene illustrato come accedere alla proprietà AmbientTheme. Questo esempio è tratto dall'esempio SDK Tracking Profile Designer. Per altre informazioni, vedere Esempio di Progettazione profili di rilevamento.

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

Commenti

AmbientTheme descrive l'aspetto della superficie di progettazione del flusso di lavoro, inclusi gli stili di sfondo, gli stili di primo piano, i tipi di carattere e le icone definite per la superficie di progettazione del flusso di lavoro.

Si applica a