5 references to DefaultGroup
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ListView.cs (5)
3046if (SendMessage(NativeMethods.LVM_HASGROUP, DefaultGroup.ID, 0) == IntPtr.Zero) { 3048InsertGroupNative(0, DefaultGroup); 3356return DefaultGroup.ID; 3699Debug.Assert(group != this.DefaultGroup, "this method should be used only when the user adds a group, not when we add our own DefaultGroup"); 3737Debug.Assert(group == DefaultGroup || this.Groups.Contains(group),"Make sure ListView.Groups contains this group before adding the native LVGROUP. Otherwise, custom-drawing may break.");