Class BOBInputSwitchVariant
- Namespace
- BlazOrbit.Components.Forms
- Assembly
- BlazOrbit.dll
Represents a variant definition for the BOBInputSwitch component.
public sealed class BOBInputSwitchVariant : Variant, IVariant
- Inheritance
-
objectBOBInputSwitchVariant
- Implements
- Inherited Members
Constructors
BOBInputSwitchVariant(string)
Initializes a new instance of the BOBInputSwitchVariant class with the specified name.
public BOBInputSwitchVariant(string name)
Parameters
namestringThe variant name.
Fields
Default
The default switch variant.
public static readonly BOBInputSwitchVariant Default
Field Value
Methods
Custom(string)
Creates a custom switch variant with the specified name.
public static BOBInputSwitchVariant Custom(string name)
Parameters
namestringThe variant name.
Returns
- BOBInputSwitchVariant
A new BOBInputSwitchVariant instance.