Exemplo n.º 1
0
        internal void UpdateGroupNative(ListViewGroupEx group, bool invalidate = true)
        {
            LVGROUP nGroup = group.AsLVGROUP();

            nGroup.SetState(ListViewGroupState.Collapsible, collapsible);
            this.CallWhenHandleValid(c => { SendMessage(ListViewMessage.SetGroupInfo, group.ID, nGroup); if (invalidate)
                                            {
                                                base.Invalidate();
                                            }
                                     });
        }
Exemplo n.º 2
0
 private void InsertGroupNative(int index, ListViewGroupEx group)
 {
     this.CallWhenHandleValid(c => this.SendMessage(ListViewMessage.InsertGroup, index, group.AsLVGROUP()));
 }