private void pgAdvCmds_Layout(object sender, LayoutEventArgs e) { if (!SharedObjects.IsMonoRunning()) return; pgAdvCmds.ToolbarVisible = false; pgAdvCmds.PropertySort = PropertySort.NoSort; pgAdvCmds.ContextMenu = (ContextMenu)null; }