public CommandContainerButton(AutomationCommandData commandContainer, Ticket selectedTicket) { _commandContainer = commandContainer; _selectedTicket = selectedTicket; if (Values.Count > 0 && commandContainer.AutomationCommand.ToggleValues) SelectedValue = Values.ElementAt(0); }