Show / Hide Table of Contents

Class Label

Represents a label control.

Inheritance
System.Object
Element
Label
Inherited Members
Element.OnValueChanged
Element.ValueChanged()
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 Source

Label(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 Source

Bold

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
| Improve this Doc View Source

Value

Gets or sets the text associated with this Label.

Declaration
public string Value { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX