A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
741 B

using System;
using System.Collections.Generic;
using Avalonia.Metadata;
namespace Avalonia.Styling
{
/// <summary>
/// Defines the style host that provides styles global to the application.
/// </summary>
[NotClientImplementable]
public interface IGlobalStyles : IStyleHost
{
/// <summary>
/// Raised when styles are added to <see cref="Styles"/> or a nested styles collection.
/// </summary>
public event Action<IReadOnlyList<IStyle>>? GlobalStylesAdded;
/// <summary>
/// Raised when styles are removed from <see cref="Styles"/> or a nested styles collection.
/// </summary>
public event Action<IReadOnlyList<IStyle>>? GlobalStylesRemoved;
}
}