Gorgon
Show / Hide Table of Contents

Class ContentFileExplorerFileEntry

An file system directory entry for the ContentFileExplorer.

Inheritance
object
PropertyMonitor
ContentFileExplorerFileEntry
Implements
INotifyPropertyChanging
INotifyPropertyChanged
IContentFileExplorerSearchEntry
IGorgonNamedObject
Inherited Members
PropertyMonitor.PropertyChanged
PropertyMonitor.PropertyChanging
PropertyMonitor.UsePropertyNameValidation
PropertyMonitor.OnPropertyChanging(string)
PropertyMonitor.OnPropertyChanged(string)
PropertyMonitor.NotifyPropertyChanged(string)
PropertyMonitor.NotifyPropertyChanging(string)
PropertyMonitor.NotifyAllPropertiesChanging()
PropertyMonitor.NotifyAllPropertiesChanged()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.UI.Controls
Assembly: Gorgon.Editor.API.dll
Syntax
public class ContentFileExplorerFileEntry : PropertyMonitor, INotifyPropertyChanging, INotifyPropertyChanged, IContentFileExplorerSearchEntry, IGorgonNamedObject

Constructors

| Edit this page View Source

ContentFileExplorerFileEntry(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 contentFile, or the parent parameter is null.

Properties

| Edit this page View Source

AssociationType

Property to return the file association type.

Declaration
public string AssociationType { get; }
Property Value
Type Description
string
| Edit this page View Source

File

Property to return the content file associated with this entry.

Declaration
public IContentFile File { get; }
Property Value
Type Description
IContentFile
| Edit this page View Source

FileIcon

Property to return the icon for this image.

Declaration
public Image FileIcon { get; }
Property Value
Type Description
Image
| Edit this page View Source

FullPath

Property to return the full path to the entry.

Declaration
public string FullPath { get; }
Property Value
Type Description
string
| Edit this page View Source

IsSelected

Property to set or return whether the entry is selected or not.

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

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
| Edit this page View Source

Name

Property to return the name of the entry.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

Parent

Property to return the parent of this entry.

Declaration
public ContentFileExplorerDirectoryEntry Parent { get; }
Property Value
Type Description
ContentFileExplorerDirectoryEntry

Implements

INotifyPropertyChanging
INotifyPropertyChanged
IContentFileExplorerSearchEntry
IGorgonNamedObject

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author