C# Class Nexus.UI.Controls.PathLabel

A label that runcates the displayed string as if it were a file system path.
Inheritance: System.Windows.Forms.Label
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Private Properties

Свойство Type Description
SplitText string

Méthodes publiques

Méthode Description
PathLabel ( ) : System

The default constructor.

Méthodes protégées

Méthode Description
OnPaint ( PaintEventArgs e ) : void

Paints the label's string.

Private Methods

Méthode Description
SplitText ( Graphics p_grpGraphics, string p_strText, Int32 p_intMaxLines, Font p_fntFont, Size p_szeArea, bool &p_booAllTextFit ) : string

Splits the given text into multiples lines, factoring in the given information.

If the given text will not fit in the given area, the last line of the split text will contain the extra characters.

Method Details

OnPaint() protected méthode

Paints the label's string.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A describing the event arguments.
Résultat void

PathLabel() public méthode

The default constructor.
public PathLabel ( ) : System
Résultat System