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.
29 lines
912 B
29 lines
912 B
using System.Collections.ObjectModel;
|
|
using System.ComponentModel;
|
|
using Lsw.Abp.AntDesignUI;
|
|
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.PageToolbars;
|
|
using Volo.Abp.DependencyInjection;
|
|
|
|
namespace Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout;
|
|
|
|
public class PageLayout : IScopedDependency, INotifyPropertyChanged
|
|
{
|
|
private string _title;
|
|
|
|
// TODO: Consider using this property for setting Page Title too.
|
|
public virtual string Title
|
|
{
|
|
get => _title;
|
|
set
|
|
{
|
|
_title = value;
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Title)));
|
|
}
|
|
}
|
|
|
|
public virtual ObservableCollection<AbpBreadcrumbItem> BreadcrumbItems { get; set; } = new();
|
|
|
|
public virtual ObservableCollection<PageToolbarItem> ToolbarItems { get; set; } = new();
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
}
|
|
|