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
ファイルを表示 Open project: NexusMods/NexusModManager-4.5

Private Properties

Property Type Description
SplitText string

Public Methods

Method Description
PathLabel ( ) : System

The default constructor.

Protected Methods

Method Description
OnPaint ( PaintEventArgs e ) : void

Paints the label's string.

Private Methods

Method 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 method

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

PathLabel() public method

The default constructor.
public PathLabel ( ) : System
return System