Browse Source

Expose logical tree events on IControl.

pull/417/head
Steven Kirk 11 years ago
parent
commit
b68c417f37
  1. 11
      src/Perspex.Controls/IControl.cs

11
src/Perspex.Controls/IControl.cs

@ -1,6 +1,7 @@
// Copyright (c) The Perspex Project. All rights reserved. // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information. // Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Controls.Templates; using Perspex.Controls.Templates;
using Perspex.Input; using Perspex.Input;
using Perspex.Layout; using Perspex.Layout;
@ -13,6 +14,16 @@ namespace Perspex.Controls
/// </summary> /// </summary>
public interface IControl : IVisual, ILogical, ILayoutable, IInputElement, INamed, IStyleable, IStyleHost public interface IControl : IVisual, ILogical, ILayoutable, IInputElement, INamed, IStyleable, IStyleHost
{ {
/// <summary>
/// Raised when the control is attached to a rooted logical tree.
/// </summary>
event EventHandler<LogicalTreeAttachmentEventArgs> AttachedToLogicalTree;
/// <summary>
/// Raised when the control is detached from a rooted logical tree.
/// </summary>
event EventHandler<LogicalTreeAttachmentEventArgs> DetachedFromLogicalTree;
/// <summary> /// <summary>
/// Gets or sets the control's styling classes. /// Gets or sets the control's styling classes.
/// </summary> /// </summary>

Loading…
Cancel
Save