VIBlend
Home Products Downloads Purchase Support Forum About Blog

TabControl for WinForms Updates

by viblend 3. May 2010 15:53

With version 4.6 of VIBlend Controls for WinForms, we introduced several rendering and functionality improvements and made the look and feel of VIBlend vTabControl fully customizable. You can easily add custom drawing by handling the DrawTabPage, DrawTabPageBackground and DrawTitleBackground events. The screenshot below is from our FlexibleStyling example (full source code available in C# and VB.NET):

We also added an easy way to customize the Font and Color settings of TabPage’s Header. Take a look at the code snippet and screenshot of a TabPage with green text color and bold font style.

           C#

vTabPage tabPage = this.vTabControl1.TabPages[0];
tabPage.UseThemeTextColor = false;
tabPage.UseDefaultTextFont = false;
tabPage.PressedTextColor = Color.Green;
tabPage.TextFont = new Font(tabPage.Font, FontStyle.Bold);
VB .NET
Dim tabPage As vTabPage = Me.vTabControl1.TabPages(0)
tabPage.UseThemeTextColor = False
tabPage.UseDefaultTextFont = False
tabPage.PressedTextColor = Color.Green
tabPage.TextFont = New Font(tabPage.Font, FontStyle.Bold)

 

 

VIBlend WinForms Controls ver. 4.6 – Released

by viblend 22. April 2010 09:17

We are happy to announce the release of the latest version of VIBlend Controls for WinForms.

VIBlend Windows Forms Controls 4.6.0 - Release Notes

1. Added support for Visual Studio 2010
2. Moved all design time classes of our controls to separate assembly
3. DataGridView changes

In this version we extended the HierarhcyItem mouse click events. Previously, the grid was raising only the ItemClick and ItemDoubleClick events.

These two events are replaced by the following set of events:

 - HierarchyItemMouseUp
 - HierarchyItemMouseDown
 - HierarchyItemMouseClick
 - HierarchyItemMouseDoubleClick

We also added several improvements in the in-place cell editors' infrastructure. Specifically we added the following activation and deactivation events:

 - Click on selected cell (MOUSE_CLICK_SELECTED_CELL)
 - Enter key activation (KEY_PRESS_ENTER
 - Esc key deactivation (KEY_PRESS_ESC)

The default activation and deactivation flags for the built-in cell editors where modified to use the new activation events.

Please, note that these are breaking changes. If you are using an earlier version of VIBlend Controls for Windows Forms you will have to make minor changes to your code.

New in version 4.6 are the HierarchyItems and Cells selection changed events:
 - DataGridView.HierarchyItemSelectionChanged
 - DataGridView.CellSelectionChanged

About the author

Some text that describes me

Tag cloud

Recent comments

Comment RSS
Copyright © 2011 VIBlend  
ALL RIGHTS RESERVED  
 
Terms of Use | Privacy Policy
WinForms Controls Purchase Online About Us
       
DataGrid Navigation Pane Technical Support Blog
ScrollBar TreeView
ListBox ProgressBar Downloads Register
ComboBox Buttons
TabControl Editors Documentation Client Login

VIBlend Blog is powered by BlogEngine.NET