Show / Hide Table of Contents

Class FileDirectoryListboxItem

Displays files and directories in various colors.

Inheritance
object
ThemeStates
ListBoxItemTheme
FileDirectoryListboxItem
Inherited Members
ListBoxItemTheme.Clone()
ListBoxItemTheme.UseColoredStringBackground
ThemeStates.SetForeground(Color)
ThemeStates.SetBackground(Color)
ThemeStates.SetGlyph(int)
ThemeStates.SetMirror(Mirror)
ThemeStates.GetStateAppearance(ControlStates)
ThemeStates.GetStateAppearanceNoMouse(ControlStates)
ThemeStates.Normal
ThemeStates.Disabled
ThemeStates.Focused
ThemeStates.Selected
ThemeStates.MouseOver
ThemeStates.MouseDown
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.UI.Controls
Assembly: SadConsole.Extended.dll
Syntax
public class FileDirectoryListboxItem : ListBoxItemTheme

Constructors

FileDirectoryListboxItem()

Declaration
public FileDirectoryListboxItem()

Properties

DirectoryAppMouseOver

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

Declaration
public ColoredGlyphBase DirectoryAppMouseOver { get; set; }
Property Value
Type Description
ColoredGlyphBase

DirectoryAppNormal

The appearance of a directory in normal state.

Declaration
public ColoredGlyphBase DirectoryAppNormal { get; set; }
Property Value
Type Description
ColoredGlyphBase

DirectoryAppSelected

The appearance of a directory when selected.

Declaration
public ColoredGlyphBase DirectoryAppSelected { get; set; }
Property Value
Type Description
ColoredGlyphBase

DirectoryAppSelectedOver

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

Declaration
public ColoredGlyphBase DirectoryAppSelectedOver { get; set; }
Property Value
Type Description
ColoredGlyphBase

FileAppMouseOver

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

Declaration
public ColoredGlyphBase FileAppMouseOver { get; set; }
Property Value
Type Description
ColoredGlyphBase

FileAppNormal

The appearance of a file in normal state.

Declaration
public ColoredGlyphBase FileAppNormal { get; set; }
Property Value
Type Description
ColoredGlyphBase

FileAppSelected

The appearance of a file when selected.

Declaration
public ColoredGlyphBase FileAppSelected { get; set; }
Property Value
Type Description
ColoredGlyphBase

FileAppSelectedOver

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

Declaration
public ColoredGlyphBase FileAppSelectedOver { get; set; }
Property Value
Type Description
ColoredGlyphBase

HighExtAppMouseOver

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

Declaration
public ColoredGlyphBase HighExtAppMouseOver { get; set; }
Property Value
Type Description
ColoredGlyphBase

HighExtAppNormal

The appearance of a highlighted file in normal state.

Declaration
public ColoredGlyphBase HighExtAppNormal { get; set; }
Property Value
Type Description
ColoredGlyphBase

HighExtAppSelected

The appearance of a highlighted file when selected.

Declaration
public ColoredGlyphBase HighExtAppSelected { get; set; }
Property Value
Type Description
ColoredGlyphBase

HighExtAppSelectedOver

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

Declaration
public ColoredGlyphBase HighExtAppSelectedOver { get; set; }
Property Value
Type Description
ColoredGlyphBase

Methods

Draw(ControlBase, Rectangle, object, ControlStates)

Draws the item in the specified area of the listbox.

Declaration
public override void Draw(ControlBase control, Rectangle area, object item, ControlStates itemState)
Parameters
Type Name Description
ControlBase control

The control containing a surface to draw on.

Rectangle area

The area to draw the item.

object item

The item object.

ControlStates itemState

The state of the item.

Overrides
ListBoxItemTheme.Draw(ControlBase, Rectangle, object, ControlStates)

RefreshTheme(Colors)

Reloads the theme values based on the colors provided.

Declaration
public override void RefreshTheme(Colors themeColors)
Parameters
Type Name Description
Colors themeColors
Overrides
ListBoxItemTheme.RefreshTheme(Colors)

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX