/// <summary> /// Recalculates the reflexive's width. /// </summary> public void UpdateWidth() { var calc = new WidthCalculator(); calc.Add(Template); _width = Math.Max(MinWidth, calc.TotalWidth); NotifyPropertyChanged("Width"); }