Articles in this section
Category / Section

Properties to set on the GroupView control to make it look like the MSN Messenger SideBar list

1 min read

 

Setting the following non-default properties will make the GroupView control similar in appearance and behavior to the MSN Messenger SideBar list:

C#

this.groupView1.SmallImageView = true;

this.groupView1.ButtonView = true;

this.groupView1.BackColor = System.Drawing.Color.Beige;

this.groupView1.ForeColor = SystemColors.ControlText;

this.groupView1.HighlightTextColor = System.Drawing.Color.Coral;

this.groupView1.SelectingTextColor = System.Drawing.Color.Coral;

this.groupView1.SelectedTextColor = System.Drawing.Color.Coral;

this.groupView1.SelectedHighlightTextColor = System.Drawing.Color.Coral;

this.groupView1.ImageSpacing = 2;

this.groupView1.ItemXSpacing = 8;

this.groupView1.ItemYSpacing = 5;

this.groupView1.HighlightImage = false;

this.groupView1.HighlightText = false;

this.groupView1.TextWrap = true;

this.groupView1.SelectingImageOffset = new System.Drawing.Point(1, 1);

this.groupView1.SelectingTextOffset = new System.Drawing.Point(1, 1);

VB

Me.groupView1.SmallImageView = True

Me.groupView1.ButtonView = True

Me.groupView1.BackColor = System.Drawing.Color.Beige

Me.groupView1.ForeColor = SystemColors.ControlText

Me.groupView1.HighlightTextColor = System.Drawing.Color.Coral

Me.groupView1.SelectingTextColor = System.Drawing.Color.Coral

Me.groupView1.SelectedTextColor = System.Drawing.Color.Coral

Me.groupView1.SelectedHighlightTextColor = System.Drawing.Color.Coral

Me.groupView1.ImageSpacing = 2

Me.groupView1.ItemXSpacing = 8

Me.groupView1.ItemYSpacing = 5

Me.groupView1.HighlightImage = False

Me.groupView1.HighlightText = False

Me.groupView1.TextWrap = True

Me.groupView1.SelectingImageOffset = New System.Drawing.Point(1, 1)

Me.groupView1.SelectingTextOffset = New System.Drawing.Point(1, 1)

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