public void InitSplitter() { try { RootContentGrid.ColumnDefinitions[2].Width = new GridLength(_prevOffContntWidth == 0 ? (_prevOffContntWidth = GetStartingSplitterWidth()) : _prevOffContntWidth); OffContent.UpdateLayout(); } catch (Exception) { //magic } }
public void InitSplitter() { RootContentGrid.ColumnDefinitions[2].Width = new GridLength(_prevOffContntWidth == 0 ? (_prevOffContntWidth = 535) : _prevOffContntWidth); OffContent.UpdateLayout(); }