Class TraceSources
Provides access to static TraceSource instances which are used by the toolkit to trace information. This class has the same intent as the PresentationTraceSources class, but is created separately, so that WPF's trace messages are left untouched.
Namespace: Celestial.UIToolkit
Assembly: Celestial.UIToolkit.Core.dll
Syntax
public static class TraceSources
Properties
| Improve this Doc View SourceAnimationSource
Gets a TraceSource which is used for any message that relates to animations.
Declaration
public static TraceSource AnimationSource { get; }
Property Value
| Type | Description |
|---|---|
| TraceSource |
ControlsSource
Gets a TraceSource which is used for any message that relates to (custom) controls which are provided by the toolkit.
Declaration
public static TraceSource ControlsSource { get; }
Property Value
| Type | Description |
|---|---|
| TraceSource |
MarkupSource
Gets a TraceSource which is used for any message that relates to (XAML) markup.
Declaration
public static TraceSource MarkupSource { get; }
Property Value
| Type | Description |
|---|---|
| TraceSource |
ResourcesSource
Gets a TraceSource which is used for any message that relates to resources.
Declaration
public static TraceSource ResourcesSource { get; }
Property Value
| Type | Description |
|---|---|
| TraceSource |
VisualStateSource
Gets a TraceSource which is used for any message that relates to visual states.
Declaration
public static TraceSource VisualStateSource { get; }
Property Value
| Type | Description |
|---|---|
| TraceSource |
Remarks
This is mainly used by the custom visual state manager and only added to not clutter other trace sources.
Methods
| Improve this Doc View SourceCreate(String)
Creates a new, configured TraceSource with the specified name.
Declaration
public static TraceSource Create(string sourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | sourceName | The name of the TraceSource to be created. |
Returns
| Type | Description |
|---|---|
| TraceSource | A new TraceSource instance with the specified
|