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