BrightIdeasSoftware.ObjectListView.SetGroupSpacing C# (CSharp) Method

SetGroupSpacing() private method

private SetGroupSpacing ( ) : void
return void
        private void SetGroupSpacing()
        {
            if (!this.IsHandleCreated)
                return;

            NativeMethods.LVGROUPMETRICS metrics = new NativeMethods.LVGROUPMETRICS();
            metrics.cbSize = ((uint)Marshal.SizeOf(typeof(NativeMethods.LVGROUPMETRICS)));
            metrics.mask = (uint)GroupMetricsMask.LVGMF_BORDERSIZE;
            metrics.Bottom = (uint)this.SpaceBetweenGroups;
            NativeMethods.SetGroupMetrics(this, metrics);
        }
ObjectListView