Northwoods.GoWPF 1.3.5 Assembly
OnBoundsAlignmentChanged Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : OnBoundsAlignmentChanged Method

This overridable method is called when the DiagramPanel.DiagramBounds or HorizontalContentAlignment or VerticalContentAlignment or Stretch properties change.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnBoundsAlignmentChanged() 
C# 
protected virtual void OnBoundsAlignmentChanged()

Remarks

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>).

Requirements

See Also

© 2012 All Rights Reserved.