|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TraceOutputWindow.xaml.cs" company="Catel development team">
// Copyright (c) 2008 - 2011 Catel development team. All rights reserved.
// </copyright>
// <summary>
// Interaction logic for TraceOutputWindow.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------
using System.Diagnostics;
using System.Windows;
namespace Catel.Windows
{
/// <summary>
/// Interaction logic for TraceOutputWindow.xaml
/// </summary>
public partial class TraceOutputWindow : DataWindow
{
#region Constructor & destructor
/// <summary>
/// Initializes a new instance of the <see cref="TraceOutputWindow"/> class.
/// </summary>
public TraceOutputWindow()
: base(DataWindowMode.Close)
{
InitializeComponent();
WindowStyle = WindowStyle.ToolWindow;
WindowStartupLocation = WindowStartupLocation.Manual;
Left = SystemParameters.PrimaryScreenWidth - Width - 15;
Top = SystemParameters.PrimaryScreenHeight - Height - 40;
StyleHelper.CreateStyleForwardersForDefaultStyles(Resources);
ActiveTraceLevel = TraceLevel.Verbose;
}
#endregion
#region Properties
/// <summary>
/// Gets or sets the active trace level.
/// </summary>
/// <value>The active trace level.</value>
public TraceLevel ActiveTraceLevel
{
get { return traceOutputControl.TraceLevelOutput; }
set { traceOutputControl.TraceLevelOutput = value; }
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.