Articles in this section
Category / Section

How to implement Microsoft OutlookBar type UI in WinForms GroupBar?

1 min read

GroupBar and GroupView control

To clone the Microsoft OutlookBar, the GroupBar and GroupView controls need to be used together in a container (GroupBar) – client (GroupView) relation such that the resulting composite control provides the required UI. The following sequence illustrates the steps involved:

  1. Using the steps outlined in knowledge base articles, How do I create and initialize a GroupBar control? and How do I create and initialize a GroupView control?, create the GroupBar and GroupView controls.
  2. For each GroupView control in the GroupBar' set the following non-default property values:

C#

this.groupView1.BackColor = SystemColors.ControlDark;
this.groupView1.ForeColor = SystemColors.HighlightText;
this.groupView1.ItemXSpacing = 8;
this.groupView1.ItemYSpacing = 8;
this.groupView1.ClipSelectionBounds = true;
this.groupView1.HighlightImage = true;
this.groupView1.HighlightText = false;
this.groupView1.TextWrap = false;
// For Large Image View
this.groupView1.SmallImageView = false;
this.groupView.ImageSpacing = 8;
// For Small Image View
this.groupView.SmallImageView = true;
this.groupView.ImageSpacing = 3;

 

VB

Me.groupView1.BackColor = SystemColors.ControlDark
Me.groupView1.ForeColor = SystemColors.HighlightText
Me.groupView1.ItemXSpacing = 8
Me.groupView1.ItemYSpacing = 8
Me.groupView1.ClipSelectionBounds = True
Me.groupView1.HighlightImage = True
Me.groupView1.HighlightText = False
Me.groupView1.TextWrap = False
' For Large Image View
Me.groupView1.SmallImageView = False
Me.groupView.ImageSpacing = 8
' For Small Image View
Me.groupView.SmallImageView = True
Me.groupView.ImageSpacing = 3

 

Conclusion

I hope you enjoyed learning about how to implement Microsoft OutlookBar type UI in WinForms GroupBar.

You can refer to our Winsform GroupBar feature page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied