Class StdBSLinkLabel
Platform link label (multiple links).
Inheritance
System.Object
StdBSLinkLabel
Namespace: StdPlatBS100
Assembly: StdPlatBS100.dll
Syntax
[Obsolete]
public class StdBSLinkLabel : Label
Constructors
StdBSLinkLabel()
Constructor.
Declaration
public StdBSLinkLabel()
Properties
CustomAutoSize
Set this to true to force to calculate the width and height by the control itself. This should always be true. If it does not work, rather use the legacy AutoSize. Disable AutoSize and this property to disable auto size at all.
Declaration
public bool CustomAutoSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ForeColorAlt
Alternate ForeColor that can be drawn when adding 4 to the formatting number.
Declaration
public Color ForeColorAlt { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color |
Splitters
Splitters that allow to implement custom formattings.
Declaration
public string[] Splitters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String[] |
Methods
OnPaint(PaintEventArgs)
Paints the formatted text into the control area and will be called on initialization and when the text has been changed.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.PaintEventArgs | e |
RichLabel_MouseClick(Object, MouseEventArgs)
Detects if a link was clicked. Will be called when a click has been performed.
Declaration
public void RichLabel_MouseClick(object sender, MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender | Source control. |
| System.Windows.Forms.MouseEventArgs | e |