Class EntityMenuProperties
public abstract class EntityMenuProperties : MenuProperties
- Inheritance
-
EntityMenuProperties
- Derived
- Inherited Members
Constructors
EntityMenuProperties(string)
protected EntityMenuProperties(string customId)
Parameters
customId
string
Methods
WithCustomId(string)
ID for the menu (max 100 characters).
public EntityMenuProperties WithCustomId(string customId)
Parameters
customId
string
Returns
WithDisabled(bool)
Whether the menu is disabled.
public EntityMenuProperties WithDisabled(bool disabled = true)
Parameters
disabled
bool
Returns
WithMaxValues(int?)
Maximum number of items that can be chosen, default 1 (max 25).
public EntityMenuProperties WithMaxValues(int? maxValues)
Parameters
maxValues
int?
Returns
WithMinValues(int?)
Minimum number of items that must be chosen, default 1 (0-25).
public EntityMenuProperties WithMinValues(int? minValues)
Parameters
minValues
int?
Returns
WithPlaceholder(string?)
Placeholder text if nothing is selected (max 150 characters).
public EntityMenuProperties WithPlaceholder(string? placeholder)
Parameters
placeholder
string