Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnBoundsAlignmentChanged() |
C# | |
---|---|
protected virtual void OnBoundsAlignmentChanged() |
This may change the DiagramPanel.Position and/or DiagramPanel.Scale in order to maintain the desired content alignment, depending on the Stretch policy. The DiagramPanel.Scale will not be greater than 1. This respects the
UseLayoutRounding
property to round off the DiagramPanel.Position. This method calls OnDiagramBoundsChanged(RoutedPropertyChangedEventArgs<Rect>).