public static ViewElement GetAutoHideCenter(this ViewElement element) { return(((ViewSite)ViewElement.FindRootElement(element)).Find(AutoHideRoot.GetIsAutoHideCenter)); }
public static bool IsFloating(ViewElement element) { return(ViewElement.FindRootElement(element) is FloatSite); }