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