Class ActionRowProperties
public class ActionRowProperties : ComponentProperties, IEnumerable<IButtonProperties>, IEnumerable
- Inheritance
-
ActionRowProperties
- Implements
- Inherited Members
Constructors
ActionRowProperties()
public ActionRowProperties()
ActionRowProperties(IEnumerable<IButtonProperties>)
public ActionRowProperties(IEnumerable<IButtonProperties> buttons)
Parameters
buttons
IEnumerable<IButtonProperties>Buttons of the action row (max 5).
Properties
Buttons
Buttons of the action row (max 5).
[JsonPropertyName("components")]
public IEnumerable<IButtonProperties> Buttons { get; set; }
Property Value
ComponentType
Type of the component.
public override ComponentType ComponentType { get; }
Property Value
Methods
AddButtons(params IButtonProperties[])
Buttons of the action row (max 5).
public ActionRowProperties AddButtons(params IButtonProperties[] buttons)
Parameters
buttons
IButtonProperties[]
Returns
AddButtons(IEnumerable<IButtonProperties>)
Buttons of the action row (max 5).
public ActionRowProperties AddButtons(IEnumerable<IButtonProperties> buttons)
Parameters
buttons
IEnumerable<IButtonProperties>
Returns
WithButtons(IEnumerable<IButtonProperties>)
Buttons of the action row (max 5).
public ActionRowProperties WithButtons(IEnumerable<IButtonProperties> buttons)
Parameters
buttons
IEnumerable<IButtonProperties>