Проблема с созданием кнопки в редакторе в пользовательском элементе управления. ⇐ C#
Проблема с созданием кнопки в редакторе в пользовательском элементе управления.
I used Custom Control class to create a panel that can hold many layers of controls separately, but I needed to add an in-editor usable button like "Add Layer" or "Remove Layer". I looked over default controls and found that TabControl has like two link labels ("Add Tab", "Remove Tab") that actually adds and deletes tabs in real time.
Tab Control Properties
The problem I got is that I can't find no references to that funcionality of controls, and therefore, can't implement it in my custom control.
I couldn't find my problem in other posted questions and not also in internet. I tried searching in source code of referred controls, but I didn't find a reference.
Thanks in advance and sorry if there are mistakes in my english.
Источник: https://stackoverflow.com/questions/781 ... om-control
I used Custom Control class to create a panel that can hold many layers of controls separately, but I needed to add an in-editor usable button like "Add Layer" or "Remove Layer". I looked over default controls and found that TabControl has like two link labels ("Add Tab", "Remove Tab") that actually adds and deletes tabs in real time.
Tab Control Properties
The problem I got is that I can't find no references to that funcionality of controls, and therefore, can't implement it in my custom control.
I couldn't find my problem in other posted questions and not also in internet. I tried searching in source code of referred controls, but I didn't find a reference.
Thanks in advance and sorry if there are mistakes in my english.
Источник: https://stackoverflow.com/questions/781 ... om-control
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Как создать экземпляр коллекции в пользовательском элементе управления непосредственно в XAML?
Anonymous » » в форуме C# - 0 Ответы
- 40 Просмотры
-
Последнее сообщение Anonymous
-