예제 #1
0
 private void UpdateSplitterInfo(SplitterInfo splitterInfo)
 {
     if (_splitter.Orientation == Orientation.Horizontal)
     {
         splitterInfo.HorizontalPercentage = ViewsManager.GetChildPercentageFromDimension(_splitter.Height, _splitter.SplitterDistance);
     }
     else
     {
         splitterInfo.VerticalPercentage = ViewsManager.GetChildPercentageFromDimension(_splitter.Width, _splitter.SplitterDistance);
     }
 }