using System.Windows.Controls; // ReSharper disable once CheckNamespace namespace WPFluent.Controls; /// /// Represents the base class for an icon source. /// public abstract class IconSource : DependencyObject { /// /// Identifies the dependency property. /// public static readonly DependencyProperty ForegroundProperty = DependencyProperty.Register( nameof(Foreground), typeof(Brush), typeof(IconSource), new FrameworkPropertyMetadata(SystemColors.ControlTextBrush)); public abstract IconElement CreateIconElement(); /// public Brush Foreground { get => (Brush)GetValue(ForegroundProperty); set => SetValue(ForegroundProperty, value); } }