Skip to content

FileDirectoryListboxItem Class

Displays files and directories in various colors.

C#
public class FileDirectoryListboxItem : ListBoxItemTheme

Inheritance objectThemeStatesListBoxItemTheme

C#
public FileDirectoryListboxItem()

The appearance of a directory in normal state.

C#
public ColoredGlyphBase DirectoryAppNormal { get; set; }

The appearance of a directory when the mouse is over it.

C#
public ColoredGlyphBase DirectoryAppMouseOver { get; set; }

The appearance of a directory when selected.

C#
public ColoredGlyphBase DirectoryAppSelected { get; set; }

The appearance of a directory when selected and the mouse is over it.

C#
public ColoredGlyphBase DirectoryAppSelectedOver { get; set; }

The appearance of a file in normal state.

C#
public ColoredGlyphBase FileAppNormal { get; set; }

The appearance of a file when the mouse is over it.

C#
public ColoredGlyphBase FileAppMouseOver { get; set; }

The appearance of a file when selected.

C#
public ColoredGlyphBase FileAppSelected { get; set; }

The appearance of a file when selected and the mouse is over it.

C#
public ColoredGlyphBase FileAppSelectedOver { get; set; }

The appearance of a highlighted file in normal state.

C#
public ColoredGlyphBase HighExtAppNormal { get; set; }

The appearance of a highlighted file when the mouse is over it.

C#
public ColoredGlyphBase HighExtAppMouseOver { get; set; }

The appearance of a highlighted file when selected.

C#
public ColoredGlyphBase HighExtAppSelected { get; set; }

The appearance of a highlighted file when selected and the mouse is over it.

C#
public ColoredGlyphBase HighExtAppSelectedOver { get; set; }

Reloads the theme values based on the colors provided.

C#
public override void RefreshTheme(Colors themeColors)

themeColors Colors

Draw(ControlBase, Rectangle, object, ControlStates)

Section titled “Draw(ControlBase, Rectangle, object, ControlStates)”

Draws the item in the specified area of the listbox.

C#
public override void Draw(ControlBase control, Rectangle area, object item, ControlStates itemState)

control ControlBase
The control containing a surface to draw on.

area SadRogue.Primitives.Rectangle
The area to draw the item.

item object
The item object.

itemState ControlStates
The state of the item.