protected void OnCommandChanged(MenuCommand item, MenuCommand.Property prop) { Recalculate(); Invalidate(); }