AmbientTheme.ShowConfigErrors 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 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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για