public virtual int ItemGap(IRibbonGroupItem previousItem) { // If the previous item is a group button cluster then we want 3 pixels if (previousItem is KryptonRibbonGroupCluster) return 3; // By default we just want a single pixel gap return 1; }