Skip to content

ToggleButtonAttribute

class · namespace Hazel

Inherits Attribute

public class ToggleButtonAttribute : Attribute

Constructors

ToggleButtonAttribute(string, string)

public ToggleButtonAttribute(string onLabel = "Enabled", string offLabel = "Disabled")

Fields

Field Description
public readonly string OffLabel
public readonly string OnLabel

Source: Hazel/Attributes/ToggleButtonAttribute.cs