Beispiel #1
0
        public OptionsListBox()
        {
            Columns.Add(new CustomListBoxColumn(0, Resources.StrName)
            {
                SizeMode = ColumnSizeMode.Fill
            });
            HeaderStyle    = gitter.Framework.Controls.HeaderStyle.Hidden;
            ShowTreeLines  = true;
            ItemActivation = gitter.Framework.Controls.ItemActivation.SingleClick;

            Items.AddRange(GlobalOptions.GetListBoxItems());
        }