We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to make the GroupView control look like the Microsoft Visual Studio.NET folder selector list

Platform: WinForms |
Control: GroupView |
Published Date: April 30, 2011 |
Last Revised Date: July 10, 2014

 

Setting the following non-default properties will endow the GroupView control with the appearance and behavioral traits of the VS.NET folder selection list:

C#

this.groupView1.SmallImageView = false;

this.groupView1.ButtonView = true;

this.groupView1.FlatLook = true;

this.groupView1.BackColor = ControlPaint.Light(SystemColors.Control, 0.25f);

this.groupView1.ForeColor = SystemColors.ControlText;

this.groupView1.HighlightItemColor = Color.FromArgb(182,189,210);

this.groupView1.SelectingItemColor = Color.FromArgb(133,146,181);

this.groupView1.SelectingTextColor = SystemColors.HighlightText;

this.groupView1.SelectedItemColor = Color.FromArgb(212,213,216);

this.groupView1.SelectedHighlightItemColor = Color.FromArgb(133,146,181);

this.groupView1.SelectedHighlightTextColor = SystemColors.HighlightText;

this.groupView1.ImageSpacing = 5;

this.groupView1.ItemXSpacing = 8;

this.groupView1.ItemYSpacing = 1;

this.groupView1.HighlightImage = true;

this.groupView1.HighlightText = true;

this.groupView1.TextWrap = true;

VB

Me.groupView1.SmallImageView = False

Me.groupView1.ButtonView = True

Me.groupView1.FlatLook = True

Me.groupView1.BackColor = ControlPaint.Light(SystemColors.Control, 0.25f)

Me.groupView1.ForeColor = SystemColors.ControlText

Me.groupView1.HighlightItemColor = Color.FromArgb(182,189,210)

Me.groupView1.SelectingItemColor = Color.FromArgb(133,146,181)

Me.groupView1.SelectingTextColor = SystemColors.HighlightText

Me.groupView1.SelectedItemColor = Color.FromArgb(212,213,216)

Me.groupView1.SelectedHighlightItemColor = Color.FromArgb(133,146,181)

Me.groupView1.SelectedHighlightTextColor = SystemColors.HighlightText

Me.groupView1.ImageSpacing = 5

Me.groupView1.ItemXSpacing = 8

Me.groupView1.ItemYSpacing = 1

Me.groupView1.HighlightImage = True

Me.groupView1.HighlightText = True

Me.groupView1.TextWrap = True

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon