Beispiel #1
0
        public ListBox(ListBoxStyle style)
        {
            _selection = new ArraySelection <T>(_items);
            _selection.SetElement(this);
            _selection.SetRequired(true);

            SetStyle(style);
            SetSize(PreferredWidth, PreferredHeight);
        }