Featured Common Controls

I would like to share my little library, which make my life easier when I create an user interface. At all, there are the same standard components, but with smart tags. They adapt on general and private fields. After starting installer and successful end of its work, you can find a new toolbar in the studio.

The library determines to GAC, creates a new toolbar in Visual Studio, and adds to a dialog box «Add reference…». You can read how to do it on your own in the one of my previous articles.

You can load the installer or a source code for these components and make a light setup for personally you or add your components. Don’t be shy to give suggestions which other elements of the UX can make better, what often uses and can be useful.

Source code and Installer

Next I will describe in short components which a library includes.

VTXButton

I believe there is no application without the same component. Everything aspires to this fairy element of design where it should be written «Make all» After the creation you can name the button, text which a user will see. As for me, I did binding on a property Tag. You can load the installer with binding as well as without. About my using of this field I’ll tell you in one of my next articles, I’ll speak about ways of work with aspects and PostSharp library.

VTXCheckBox

You can name the component for check box too, text is on the left of the field for a check mark. You can bind a property to property Checked, which can be useful. Attach a model to a kit of check boxes after creation, and when you click, for instance, on a button you can collect a model and interrogate the meaning represented by check boxes. Easly and pleasantly. Also again the action on click can be binded to a property Tag .

VTXDateTimePicker

You can keep off troubles with setting needful time borders, if you use a nice smart-tag. Usually you don’t need to calculate a value of time borders, so it means you should set by your own there, without delay. A format of a date also can be specified and not to be looking for in the properties window.

Traditionally you can set the name of the component with the help of smart tag.

VTXLabel

No program can work without this element too. Usually the number of signatures grows a lot. Especially on the primary projection stage. This time a possibility to name a component and it’s value prove useful to us.

VTXLinkLabel

Linklabel have a real wide usage in modern Microsoft products, making user interface lightweight and familiar. It hide the borders between win froms and internet applications. For this component you can set name, and an image on the left side that can be shown to a user.

VTXPanel

In my opinion, the panel is also very needful thing in building of interface than buttons and inscriptions. In this situation you can choose a color of the panel, in which part of the screen put the panel. The last point is seemed very needful for me, because very often there is a plenty of panels and it’s really difficult to work with it. You can also set a name of a component.

VTXProgressBar

This component doesn’t in use very often, however I decided to include it. With the help of a smart tag you can set the size of the space, rename a component and also allocate a binding on value.

VTXTextBox

The entry field was changed more than other components. A possibility to set a text- prompting was added and it looks like a search line. Null Text will be visible for users as a grey text. If you try to capture, text will disappear and it will be visible with normal inscription. I advise you to experiment with these components, you’ll enjoy it! ;)

Source code ~41 KB

Controls installer ~237KB

Hard’n’heavy!

Tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>