Ejemplo n.º 1
0
 protected override Size ArrangeOverride(Size arrangeSize)
 {
     textBox.Arrange(new Rect(arrangeSize));
     comboBox.Arrange(new Rect(arrangeSize));
     return(base.ArrangeOverride(arrangeSize));
 }
 protected override Size ArrangeOverride(Size finalSize)
 {
     _comboBox.Arrange(new Rect(0, 0, _textBlock.DesiredSize.Width + 50, _textBlock.DesiredSize.Height * 1.5));
     _comboBox.Focus();
     return(finalSize);
 }