public static Background GetEditorRenderBackground() { if (Enum.TryParse(AppVM.GetSetting("diagrameditor.renderbackground"), out Background result)) { return(result); } return(Background.None); }
public static bool GetEnhancedCopy() { if (bool.TryParse(AppVM.GetSetting("integration.enhancedcopy"), out bool result)) { return(result); } return(false); }
public static ReleaseChannel GetReleaseChannel() { try { return((ReleaseChannel)Enum.Parse(typeof(ReleaseChannel), AppVM.GetSetting("app.releasechannel"))); } catch (Exception) { } return(ReleaseChannel.Official); }
public static Background GetRenderBackground() { Background result; if (Enum.TryParse(AppVM.GetSetting("app.renderbackground"), out result)) { return(result); } return(Background.None); }