EnumButtonGroupAttributeclass

Forces an enum property to be shown as a group of buttons.

object→Attribute→EnumButtonGroupAttribute
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public class Sandbox.EnumButtonGroupAttribute : System.Attribute

Constructors1

Showing 1 constructors

Properties1

Showing 1 properties

public bool Sandbox.EnumButtonGroupAttribute.IconOnly { get; set; }PUBLICGETSET

Shows only icons, with each option's name and description in its tooltip. Options without an icon still display their name.

Returns:bool—

On this page