/// <summary> /// Checks if a tab window is a special tab /// </summary> /// <param name="tp">The window to check</param> /// <returns>True if the window is a special tab, otherwise false</returns> public static bool IsSpecialTab(DockableWindow tp) { return (tp != null) && (tp.GetType().Name != "CodeTab"); }
/// <summary> /// Checks if a tab is a code tab /// </summary> /// <param name="tp">The tab to check</param> /// <returns>True if the tab is a code tab, otherwise false</returns> public static bool IsCodeTab(DockableWindow tp) { return (tp != null) && ((tp.GetType().Name == "CodeTab")); }