Код: Выделить всё
[Description("Determines whether the toggle switch's text is hidden or not"), Category("Appearance"), DefaultValue("No"), Browsable(true)]
public ComboBox EnableText
{
set => EnableText.Items.AddRange(new object[] {"Yes","No"});
get => (ComboBox)EnableText.SelectedItem;
}
Подробнее здесь: https://stackoverflow.com/questions/798 ... crashes-vs
Мобильная версия