Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1528
How to build a toggle button user control?
posted

I need to create a user control which behaves as a checkbox but appears as an ordinary button with icon+text. Clicking the button would toggle the state. The button's icon and text would both change to reflect the state.

Ideally, in the IDE I would like the property grid of the user control to expose both states of both the icon and the text.   I expect someone experienced with user controls and custom property grids could spin this up in a couple minutes. Any takers?

Thanks.

Parents Reply Children
No Data