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