Browse by Tags
All Tags »
Contols »
Designer (
RSS)
As I promised I will supply the source code for the Designer and I will explain about SmartTags , SmartTags enable us easier access to our control an extended to UI. So SmartTags enable us to access designated operation to our control. How to create SmartTas: Step 1: In my previous session I have demonstrated how to create a Custom Designer , now all you have to do to add SmartTags to your control is to override the ActionLists property of your desginer . private DesignerActionList m_DesignerActionList;...
In my last post I have demonstrated how to create your own Designer , in this post I will continue on demonstrating on how to create your own Designer. My goal in this series of posts is to explain how to create and extended Designers. For this reason I have created a sample. This plain sample is a UserControl that contains an PictureBox and a Label. Using many of this controls can be a bit frustrating, since we can change the Image of the PictureBox without encapsulate the Image Property. As I mention...
Working with Winforms Designer and UserControls has always been a bit complicated, we could never get an easy access to the UserControls unique properties when designing our Control. We only had one option to access Properties via the Properties Window . To understand better how Designers works please visit The Perfect Host . In this post I will demonstrate how we can easily create and adapt a Custom Designer for a New UserControl . This figure demonstrate how a Button is Contained by...