Show / Hide Table of Contents

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.

Inheritance
Object
TraceSources
Namespace: Celestial.UIToolkit
Assembly: Celestial.UIToolkit.Core.dll
Syntax
public static class TraceSources

Properties

| Improve this Doc View Source

AnimationSource

Gets a TraceSource which is used for any message that relates to animations.

Declaration
public static TraceSource AnimationSource { get; }
Property Value
Type Description
TraceSource
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

Create(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 sourceName.

  • Improve this Doc
  • View Source
Back to top Copyright © 2018 Celestial.UIToolkit - Impressum