Class DirectoryModel
说明
[TypeConverter(typeof(DirectoryModelTypeConverter))]
public class DirectoryModel : SystemInfoModel<IDirectoryInfo>, INotifyPropertyChanged
- Inheritance
-
DirectoryModel
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
DirectoryModel()
public DirectoryModel()
DirectoryModel(IDirectoryInfo)
public DirectoryModel(IDirectoryInfo model)
Parameters
model
IDirectoryInfo
DirectoryModel(SpecialFolder)
public DirectoryModel(Environment.SpecialFolder special)
Parameters
special
Environment.SpecialFolder
DirectoryModel(string)
public DirectoryModel(string path)
Parameters
path
string
Properties
Collection
子节点
public ObservableCollection<SystemInfoModel> Collection { get; set; }
Property Value
FileInfoVisible
是否显示文件
public bool FileInfoVisible { get; set; }
Property Value
IsBuzy
说明
public bool IsBuzy { get; set; }
Property Value
IsExpanded
是否展开
public bool IsExpanded { get; set; }
Property Value
Methods
RefreshChildren()
刷新子节点
public void RefreshChildren()
RefreshGrandson()
刷新孙子节点
public void RefreshGrandson()