UIA.Extensions.TestApplication.ListActingLabel.ListActingLabel C# (CSharp) Method

ListActingLabel() public method

public ListActingLabel ( Control control ) : System.Collections.Generic
control System.Windows.Forms.Control
return System.Collections.Generic
        public ListActingLabel(Control control) : base(control)
        {
            IsRequired = true;
            CanSelectMultiple = true;

            _listOptions = new[] {"First Option", "Second Option", "Third Option"}
                .Select(x => ListActingLabelItem.Create(x, this)).ToList();

            _listOptions.First().Select();
        }