Class Label
Represents a label control.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DesktopMagicPluginAPI.Inputs
Assembly: DesktopMagicPluginAPI.dll
Syntax
public class Label : Element
Constructors
| Improve this Doc View SourceLabel(String, Boolean)
Initializes a new instance of the Label class with the provided value.
Declaration
public Label(string value, bool bold = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | The text associated with this Label |
| System.Boolean | bold | A value indicating whether the content of the Label is bold or not. |
Properties
| Improve this Doc View SourceBold
Gets or set a value indicating whether the content of the Label is bold or not.
Declaration
public bool Bold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Value
Gets or sets the text associated with this Label.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |