Class ContentFileExplorerDirectoryEntry
An file system directory entry for the ContentFileExplorer.
Implements
Inherited Members
Namespace: Gorgon.Editor.UI.Controls
Assembly: Gorgon.Editor.API.dll
Syntax
public class ContentFileExplorerDirectoryEntry : PropertyMonitor, INotifyPropertyChanging, INotifyPropertyChanged, IContentFileExplorerSearchEntry, IGorgonNamedObject
Constructors
| Edit this page View SourceContentFileExplorerDirectoryEntry(string, IReadOnlyList<ContentFileExplorerFileEntry>)
Initializes a new instance of the ContentFileExplorerDirectoryEntry class.
Declaration
public ContentFileExplorerDirectoryEntry(string fullPath, IReadOnlyList<ContentFileExplorerFileEntry> files)
Parameters
Type | Name | Description |
---|---|---|
string | fullPath | The full path to the directory. |
IReadOnlyList<ContentFileExplorerFileEntry> | files | The files under this directory. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when the |
ArgumentEmptyException | Thrown when the |
Properties
| Edit this page View SourceFiles
Property to return the files for the directory.
Declaration
public IReadOnlyList<ContentFileExplorerFileEntry> Files { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<ContentFileExplorerFileEntry> |
FullPath
Property to return the full path to the entry.
Declaration
public string FullPath { get; }
Property Value
Type | Description |
---|---|
string |
IsExpanded
Property to set or return whether the entry is expanded or not.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsVisible
Property to set or return whether this entry is visible in the list or not.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Property to return the name of the entry.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Parent
Property to return the parent of this entry.
Declaration
public ContentFileExplorerDirectoryEntry Parent { get; }
Property Value
Type | Description |
---|---|
ContentFileExplorerDirectoryEntry |