Customizing the Appearance Using ColorPicker and FontPicker
Enhancing the functionality and appearance of the standard controls, our Input and Editing controls in the WinForms Edition of ComponentOne Studio consists of twelve controls that support visual styles (including Office 2010), data binding, masked editing and localization. The appearance of C1Input controls can be customized, due to the diverse properties and powerful theming capabilities. These provide a flexible mechanism for adjusting the look of the controls. With the advent of 2015 V2 (July 15), there will be two new independent controls in the Edition.
- C1ColorPicker
- C1FontPicker
C1ColorPicker: Color Input Editor
The C1ColorPicker control provides a rich, interactive color selection interface to select color for your control. Users can select basic colors and can define custom colors from various options available in the C1ColorPicker, to create a polished and professional-looking application. C1ColorPicker also supports additional visual styles and themes that help in further customizing the application. The important properties available in C1ColorPicker are as follows.
- AllowEmpty: Gets or sets a value indicating whether the empty color can be selected.
- AllowTransparent: Gets or sets a value indicating whether the transparent color can be selected.
- DataType: Type of the Value property.
- EmptyColorCaption: Gets or sets a caption for the empty color.
- VisibleButtons: Gets or sets a value specifying which buttons are visible. The default is (UpDown Or DropDown).
C1FontPicker: Font Selection Control
The C1FontPicker control is a font selection control that lets users select the desired font from a drop-down list. Users can select out of a list of more than 250 fonts available in the C1FontPicker. Like C1ColorPicker, C1FontPicker also supports additional visual styles and themes. The important properties available in C1FontPicker are as follows.
- DataType: Type of the Value property.
- DropDownFormWidth: Gets or sets width of drop down list of fonts.
- UsedFonts: Gets a collection of fonts installed on the system.
- VisibleButtons: Gets or sets a value specifying which buttons are visible. The default is (UpDown Or DropDown).
You can also read about the various elements and properties of these controls in the documentation.
Sign Up for More News
The FontPicker and ColorPicker controls will be available with the ship of 2015 V2, due out the week of July 15. If you're already an account member, you'll see the announcement soon. If not, create an account today to keep apprised of our 2015 releases! Send me news! >> [See more 2015 v2 features >>](http://our.componentone.com/tag/2015-v2/?utm_source=bcwf&utm_medium=blog&utm_campaign=v2&utm_content=v2)