private void InvalidateMeasureOfTitleBar() { var titleBar = RibbonControl.GetParentRibbon(this)?.TitleBar ?? UIHelper.GetParent <RibbonTitleBar>(this); titleBar?.ForceMeasureAndArrange(); }
private void InvalidateMeasureOfTitleBar() { var parentRibbon = RibbonControl.GetParentRibbon(this); parentRibbon?.TitleBar?.InvalidateMeasure(); parentRibbon?.TitleBar?.UpdateLayout(); }
private void InvalidateMeasureOfTitleBar() { if (this.IsLoaded == false) { return; } var titleBar = RibbonControl.GetParentRibbon(this)?.TitleBar ?? UIHelper.GetParent <RibbonTitleBar>(this); titleBar?.ForceMeasureAndArrange(); }