Browse Source
The root of our logical tree is denoted by `IStyleRoot` for historical reasons: before #1594, styling was defined in `Avalonia.Styling` but the logical tree was defined in `Avalonia.Controls`. The styling system needed a root but because it was lower-level than the logical tree it had to define its own root type which was then repurposed for use by the logical tree. Since #1594 the logical tree is defined in `Avalonia.Styling` as well so we might as well call `IStyleRoot` what it is: the logical tree root.pull/3346/head
12 changed files with 43 additions and 44 deletions
@ -0,0 +1,9 @@ |
|||
namespace Avalonia.LogicalTree |
|||
{ |
|||
/// <summary>
|
|||
/// Represents a root of a logical tree.
|
|||
/// </summary>
|
|||
public interface ILogicalRoot : ILogical |
|||
{ |
|||
} |
|||
} |
|||
@ -1,12 +0,0 @@ |
|||
// Copyright (c) The Avalonia Project. All rights reserved.
|
|||
// Licensed under the MIT license. See licence.md file in the project root for full license information.
|
|||
|
|||
namespace Avalonia.Styling |
|||
{ |
|||
/// <summary>
|
|||
/// Denotes the root <see cref="IStyleHost"/> in a tree.
|
|||
/// </summary>
|
|||
public interface IStyleRoot : IStyleHost |
|||
{ |
|||
} |
|||
} |
|||
Loading…
Reference in new issue