public void InitSplitter() { try { RootContentGrid.ColumnDefinitions[2].Width = new GridLength(_prevOffContntWidth == 0 ? (_prevOffContntWidth = GetStartingSplitterWidth()) : _prevOffContntWidth); OffContent.UpdateLayout(); } catch (Exception) { //magic } }
private void NavigateOff(Type page, object args = null) { OffContent.Navigate(page, args); }
public void InitSplitter() { RootContentGrid.ColumnDefinitions[2].Width = new GridLength(_prevOffContntWidth == 0 ? (_prevOffContntWidth = 535) : _prevOffContntWidth); OffContent.UpdateLayout(); }