Table of Contents

Class FileListBoxItem

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Implements item of the FileListBox control.

public class FileListBoxItem : TreeViewItem, IBaseObjectWithAttr, IBaseObjectWithId, IBaseObject, INotifyPropertyChanged, IComparable<ListControlItem>, IComparable<TreeViewItem>
Inheritance
FileListBoxItem
Implements

Constructors

FileListBoxItem(string?, string?, Action?)

Initializes a new instance of the FileListBoxItem class.

Properties

ExtensionLower

Gets extension in the lower case and without "." character.

Info

Gets the FileSystemInfo object representing the file or directory associated with the current instance.

IsFile

Gets a value indicating whether the current item represents a file.

IsFolder

Gets a value indicating whether the current path represents a folder.

Path

Gets or sets path to the file.

Size

Gets the size of the file in bytes, or null if the size cannot be determined.

Methods

CompareByIsFolder(FileListBoxItem, FileListBoxItem)

Compares two FileListBoxItem objects based on whether they represent folders.

ComparisonByDateModified(FileListBoxItem, FileListBoxItem)

Compares two FileListBoxItem objects based on their date modified and other criteria.

ComparisonByDateModifiedDescending(FileListBoxItem, FileListBoxItem)

Same as ComparisonByDateModified(FileListBoxItem, FileListBoxItem), but compares in descending order.

ComparisonBySize(FileListBoxItem, FileListBoxItem)

Compares two FileListBoxItem objects based on their folder status, size, and text.

ComparisonBySizeDescending(FileListBoxItem, FileListBoxItem)

Same as ComparisonBySize(FileListBoxItem, FileListBoxItem), but compares in descending order.

ComparisonByText(FileListBoxItem, FileListBoxItem)

Compares two FileListBoxItem objects based on their folder status and text values.

ComparisonByTextDescending(FileListBoxItem, FileListBoxItem)

Same as ComparisonByText(FileListBoxItem, FileListBoxItem), but compares in descending order.