Sales
1-888-9DOTNET
|
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 |