Northwoods.GoSilverlight 2.1.1 Assembly
PanningTool Class Methods
See Also  Send Feedback
Northwoods.GoXam.Tool Namespace : PanningTool Class


Glossary Item Box

For a list of all members of this type, see PanningTool members.

Public Methods

 NameDescription
Public MethodAddHandlerAdds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. (Inherited from System.Windows.UIElement)
Public MethodArrangePositions child objects and determines a size for a System.Windows.UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update. (Inherited from System.Windows.UIElement)
Public MethodCanStartOverridden.  This tool can run when the diagram allows scrolling and the mouse has been dragged far enough away from the mouse-down point to avoid being a click.  
Public MethodClearValueClears the local value of a dependency property. (Inherited from System.Windows.DependencyObject)
Public MethodDoActivateOverridden. Establish a scroll cursor and remember the OriginalPosition of the Northwoods.GoXam.DiagramPanel.  
Public MethodDoCancelOverridden. Reset the Northwoods.GoXam.DiagramPanel's Northwoods.GoXam.DiagramPanel.Position and stop this tool.  
Public MethodDoDeactivateOverridden.  Restore the diagram's cursor.  
Public MethodDoKeyDown The diagram will call this method upon a key down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Public MethodDoKeyUp The diagram will call this method upon a key up event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Public MethodDoMouseDown The diagram will call this method upon a mouse down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Public MethodDoMouseMoveOverridden. Modify the Northwoods.GoXam.Diagram's Northwoods.GoXam.Diagram.Panel's Northwoods.GoXam.DiagramPanel.Position according to how much the mouse has moved.  
Public MethodDoMouseUpOverridden.  Finish scrolling the diagram.  
Public MethodDoMouseWheel The diagram will call this method as the mouse wheel is rotated. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Public MethodDoStartOverridden.  Capture the mouse when starting this tool.  
Public MethodDoStopOverridden.  Release the mouse capture when stopping this tool.  
Public MethodFindNameRetrieves an object that has the specified identifier name. (Inherited from System.Windows.FrameworkElement)
Public MethodGetAnimationBaseValueReturns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (Inherited from System.Windows.DependencyObject)
Public MethodGetBindingExpressionRetrieves the System.Windows.Data.BindingExpression for a dependency property where a binding is established. (Inherited from System.Windows.FrameworkElement)
Public MethodGetValueReturns the current effective value of a dependency property from a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodInvalidateArrangeInvalidates the arrange state (layout) for a System.Windows.UIElement. After the invalidation, the System.Windows.UIElement will have its layout updated, which will occur asynchronously. (Inherited from System.Windows.UIElement)
Public MethodInvalidateMeasureInvalidates the measurement state (layout) for a System.Windows.UIElement. (Inherited from System.Windows.UIElement)
Public MethodMeasureUpdates the System.Windows.UIElement.DesiredSize of a System.Windows.UIElement. Typically, objects that implement custom layout for their layout children call this method from their own System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size) implementations to form a recursive layout update. (Inherited from System.Windows.UIElement)
Public MethodOnApplyTemplateWhen overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks. (Inherited from System.Windows.FrameworkElement)
Public MethodReadLocalValueReturns the local value of a dependency property, if a local value is set. (Inherited from System.Windows.DependencyObject)
Public MethodReleaseMouseCaptureRemoves mouse capture from a System.Windows.UIElement. After this call, typically no object holds mouse capture. (Inherited from System.Windows.UIElement)
Public MethodRemoveHandlerRemoves the specified routed event handler from this System.Windows.UIElement. (Inherited from System.Windows.UIElement)
Public MethodSetBindingAttaches a binding to a System.Windows.FrameworkElement, using the provided binding object, and returns a System.Windows.Data.BindingExpressionBase for possible later use. (Inherited from System.Windows.FrameworkElement)
Public MethodSetValue (Inherited from System.Windows.DependencyObject)
Public MethodStopToolIf the Northwoods.GoXam.Diagram.CurrentTool is this tool, stop this tool and start the Northwoods.GoXam.Diagram.DefaultTool by making it be the new current tool. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Public MethodTransformToVisualReturns a transform object that can be used to transform coordinates from the System.Windows.UIElement to the specified object. (Inherited from System.Windows.UIElement)
Public MethodUpdateAdornments The diagram asks each tool to update any adornments the tool might use for a given part. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Public MethodUpdateLayoutEnsures that all positions of child objects of a System.Windows.UIElement are properly updated for layout. (Inherited from System.Windows.UIElement)
Top

Protected Methods

 NameDescription
Protected MethodArrangeOverride (Inherited from System.Windows.FrameworkElement)
Protected MethodCaptureMouseThis calls UIElement.CaptureMouse on the Diagram's Northwoods.GoXam.Diagram.Panel. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodFindAdornedElementGiven a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedElement. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodFindAdornedPartGiven a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedPart. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodFindAdornmentGiven a handle element, return its containing Northwoods.GoXam.Adornment. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodFindElementUpFromOverloaded. Search up the chain of parent visual elements starting with the given element to find one for which pred is true (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodFindPartAtFind a Northwoods.GoXam.Part at the given point, perhaps requiring it to be Northwoods.GoXam.Part.Selectable. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodFindToolHandleAt Find an element at the given point that is a tool handle. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodGetWheelDelta Return how much the wheel has turned. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsAltKeyDown Return true when the alt key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsBeyondDragSize Return true when the last mouse point is far enough away from the first mouse down point to constitute a drag operation instead of just a potential click. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsControlKeyDown Return true when the control key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsDoubleClick Return true when the last mouse down event occurred very close to and very soon after the previous mouse down event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsLeftButtonDown Return true when the left mouse button is pressed during a mouse button event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsRightButtonDown Return true when the right mouse button is pressed during a mouse button event. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodIsShiftKeyDown Return true when the shift key modifier is pressed. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodMeasureOverride (Inherited from System.Windows.FrameworkElement)
Protected MethodOnCreateAutomationPeerWhen implemented in a derived class, returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Silverlight automation infrastructure. (Inherited from System.Windows.UIElement)
Protected MethodReleaseMouseThis calls UIElement.ReleaseMouseCapture on the Diagram's Northwoods.GoXam.Diagram.Panel. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodStandardMouseSelect Implement the standard behavior for selecting parts with the mouse, depending on the control and shift modifier keys. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodStandardMouseWheel Implement the standard behavior for mouse wheel events. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodStartTransactionCall Northwoods.GoXam.Diagram.StartTransaction with the given transaction name. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Protected MethodStopTransactionIf TransactionResult is null, call Northwoods.GoXam.Diagram.RollbackTransaction, otherwise call Northwoods.GoXam.Diagram.CommitTransaction. (Inherited from Northwoods.GoXam.Tool.DiagramTool)
Top

See Also

© 2013 All Rights Reserved.