Class DisplayBindableBase
- Namespace
- H.Mvvm
- Assembly
- H.Mvvm.dll
public abstract class DisplayBindableBase : BindableBase, INotifyPropertyChanged, IDable
- Inheritance
-
DisplayBindableBase
- Implements
-
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
DisplayBindableBase()
public DisplayBindableBase()
Properties
Commands
[Browsable(false)]
[JsonIgnore]
public ObservableCollection<ICommand> Commands { get; }
Property Value
- ObservableCollection<ICommand>
Description
[JsonIgnore]
[Browsable(false)]
public virtual string Description { get; set; }
Property Value
- string
GroupName
[JsonIgnore]
[Browsable(false)]
public virtual string GroupName { get; set; }
Property Value
- string
ID
[Browsable(false)]
public virtual string ID { get; set; }
Property Value
- string
Icon
[JsonIgnore]
[Browsable(false)]
public virtual string Icon { get; set; }
Property Value
- string
IsLoaded
[Browsable(false)]
[JsonIgnore]
public bool IsLoaded { get; set; }
Property Value
- bool
LoadDefaultCommand
[JsonIgnore]
[Display(Name = "恢复默认")]
[Browsable(false)]
public virtual RelayCommand LoadDefaultCommand { get; }
Property Value
- RelayCommand
LoadedCommand
[Browsable(false)]
[JsonIgnore]
public RelayCommand LoadedCommand { get; }
Property Value
- RelayCommand
Name
[JsonIgnore]
[Browsable(false)]
public virtual string Name { get; set; }
Property Value
- string
Order
[JsonIgnore]
[Browsable(false)]
public virtual int Order { get; set; }
Property Value
- int
ShortName
[JsonIgnore]
[Browsable(false)]
public virtual string ShortName { get; set; }
Property Value
- string
Methods
CreateCommands()
protected virtual IEnumerable<ICommand> CreateCommands()
Returns
- IEnumerable<ICommand>
LoadDefault()
public virtual void LoadDefault()
Loaded(object)
protected virtual void Loaded(object obj)
Parameters
obj
object