Class ContentFileExplorerFileEntry
An file system directory entry for the ContentFileExplorer.
Implements
Inherited Members
Namespace: Gorgon.Editor.UI.Controls
Assembly: Gorgon.Editor.API.dll
Syntax
public class ContentFileExplorerFileEntry : PropertyMonitor, INotifyPropertyChanging, INotifyPropertyChanged, IContentFileExplorerSearchEntry, IGorgonNamedObject
Constructors
| Edit this page View SourceContentFileExplorerFileEntry(IContentFile, ContentFileExplorerDirectoryEntry)
Initializes a new instance of the ContentFileExplorerFileEntry class.
Declaration
public ContentFileExplorerFileEntry(IContentFile contentFile, ContentFileExplorerDirectoryEntry parent)
Parameters
Type | Name | Description |
---|---|---|
IContentFile | contentFile | The content file associated with this entry. |
ContentFileExplorerDirectoryEntry | parent | The parent directory for this file. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when the |
Properties
| Edit this page View SourceAssociationType
Property to return the file association type.
Declaration
public string AssociationType { get; }
Property Value
Type | Description |
---|---|
string |
File
Property to return the content file associated with this entry.
Declaration
public IContentFile File { get; }
Property Value
Type | Description |
---|---|
IContentFile |
FileIcon
Property to return the icon for this image.
Declaration
public Image FileIcon { get; }
Property Value
Type | Description |
---|---|
Image |
FullPath
Property to return the full path to the entry.
Declaration
public string FullPath { get; }
Property Value
Type | Description |
---|---|
string |
IsSelected
Property to set or return whether the entry is selected or not.
Declaration
public bool IsSelected { 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 |