コード例 #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();
                                            }
                                     });
        }
コード例 #2
0
 private void InsertGroupNative(int index, ListViewGroupEx group)
 {
     this.CallWhenHandleValid(c => this.SendMessage(ListViewMessage.InsertGroup, index, group.AsLVGROUP()));
 }