using Avalonia; using Avalonia.Controls; namespace Ursa.Controls; /// /// Ursa window is designed to /// public class UrsaView: ContentControl { public static readonly StyledProperty IsTitleBarVisibleProperty = UrsaWindow.IsTitleBarVisibleProperty.AddOwner(); public bool IsTitleBarVisible { get => GetValue(IsTitleBarVisibleProperty); set => SetValue(IsTitleBarVisibleProperty, value); } public static readonly StyledProperty LeftContentProperty = UrsaWindow.LeftContentProperty.AddOwner(); public object? LeftContent { get => GetValue(LeftContentProperty); set => SetValue(LeftContentProperty, value); } public static readonly StyledProperty RightContentProperty = UrsaWindow.RightContentProperty.AddOwner(); public object? RightContent { get => GetValue(RightContentProperty); set => SetValue(RightContentProperty, value); } public static readonly StyledProperty TitleBarContentProperty = UrsaWindow.TitleBarContentProperty.AddOwner(); public object? TitleBarContent { get => GetValue(TitleBarContentProperty); set => SetValue(TitleBarContentProperty, value); } public static readonly StyledProperty TitleBarMarginProperty = UrsaWindow.TitleBarMarginProperty.AddOwner(); public Thickness TitleBarMargin { get => GetValue(TitleBarMarginProperty); set => SetValue(TitleBarMarginProperty, value); } }