Northwoods.GoSilverlight 1.3.5 Assembly
DiagramTool Class Members
See Also  Fields  Properties  Methods  Events Send Feedback
Northwoods.GoXam.Tool Namespace : DiagramTool Class


The following tables list the members exposed by DiagramTool.

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)MouseEnabledPropertyIdentifies the MouseEnabled dependency property.  
public Fieldstatic (Shared in Visual Basic)WheelBehaviorPropertyIdentifies the DiagramTool.WheelBehavior property.  
Top

Public Properties

 NameDescription
public PropertyActive Gets or sets whether this tool is started and is actively doing something.  
public PropertyActualHeight (Inherited from System.Windows.FrameworkElement)
public PropertyActualWidth (Inherited from System.Windows.FrameworkElement)
public PropertyAllowDrop (Inherited from System.Windows.UIElement)
public PropertyCacheMode (Inherited from System.Windows.UIElement)
public PropertyClip (Inherited from System.Windows.UIElement)
public PropertyCursor (Inherited from System.Windows.FrameworkElement)
public PropertyDataContext (Inherited from System.Windows.FrameworkElement)
public PropertyDesiredSize (Inherited from System.Windows.UIElement)
public PropertyDiagramGets the Northwoods.GoXam.Diagram that owns this tool and for which this tool is handling input events.  
public PropertyDispatcher (Inherited from System.Windows.DependencyObject)
public PropertyEffect (Inherited from System.Windows.UIElement)
public PropertyFlowDirection (Inherited from System.Windows.FrameworkElement)
public PropertyHeight (Inherited from System.Windows.FrameworkElement)
public PropertyHorizontalAlignment (Inherited from System.Windows.FrameworkElement)
public PropertyIsHitTestVisible (Inherited from System.Windows.UIElement)
public PropertyLanguage (Inherited from System.Windows.FrameworkElement)
public PropertyMargin (Inherited from System.Windows.FrameworkElement)
public PropertyMaxHeight (Inherited from System.Windows.FrameworkElement)
public PropertyMaxWidth (Inherited from System.Windows.FrameworkElement)
public PropertyMinHeight (Inherited from System.Windows.FrameworkElement)
public PropertyMinWidth (Inherited from System.Windows.FrameworkElement)
public PropertyMouseEnabled Gets or sets whether this tool can be started by a mouse event.  
public PropertyName (Inherited from System.Windows.FrameworkElement)
public PropertyOpacity (Inherited from System.Windows.UIElement)
public PropertyOpacityMask (Inherited from System.Windows.UIElement)
public PropertyParent (Inherited from System.Windows.FrameworkElement)
public PropertyProjection (Inherited from System.Windows.UIElement)
public PropertyRenderSize (Inherited from System.Windows.UIElement)
public PropertyRenderTransform (Inherited from System.Windows.UIElement)
public PropertyRenderTransformOrigin (Inherited from System.Windows.UIElement)
public PropertyResources (Inherited from System.Windows.FrameworkElement)
public PropertyStyle (Inherited from System.Windows.FrameworkElement)
public PropertyTag (Inherited from System.Windows.FrameworkElement)
public PropertyTriggers (Inherited from System.Windows.FrameworkElement)
public PropertyUseLayoutRounding (Inherited from System.Windows.UIElement)
public PropertyVerticalAlignment (Inherited from System.Windows.FrameworkElement)
public PropertyVisibility (Inherited from System.Windows.UIElement)
public PropertyWheelBehaviorGets or sets the behavior of DiagramTool.StandardMouseWheel.  
public PropertyWidth (Inherited from System.Windows.FrameworkElement)
Top

Protected Properties

 NameDescription
protected PropertyTransactionResult Gets or sets the name of the transaction to be committed; if null, the transaction will be rolled back.  
Top

Public Methods

 NameDescription
public MethodAddHandler (Inherited from System.Windows.UIElement)
public MethodArrange (Inherited from System.Windows.UIElement)
public MethodCanStart This predicate is used by the diagram to decide if this tool can be started.  
public MethodClearValue (Inherited from System.Windows.DependencyObject)
public MethodDoActivateThis method is called by the diagram after setting Northwoods.GoXam.Diagram.CurrentTool, to make the new tool active.  
public MethodDoCancel The diagram will call this method when the user wishes to cancel the current tool's operation.  
public MethodDoDeactivateThis method is called by the diagram on the old tool when Northwoods.GoXam.Diagram.CurrentTool is set to a new tool.  
public MethodDoKeyDown The diagram will call this method upon a key down event.  
public MethodDoKeyUp The diagram will call this method upon a key up event.  
public MethodDoMouseDown The diagram will call this method upon a mouse down event.  
public MethodDoMouseMove The diagram will call this method upon a mouse move event.  
public MethodDoMouseUp The diagram will call this method upon a mouse up event.  
public MethodDoMouseWheel The diagram will call this method as the mouse wheel is rotated.  
public MethodDoStart This method is called by the diagram when this tool becomes the current tool.  
public MethodDoStop This method is called by the diagram when this tool stops being the current tool.  
public MethodFindName (Inherited from System.Windows.FrameworkElement)
public MethodGetAnimationBaseValue (Inherited from System.Windows.DependencyObject)
public MethodGetBindingExpression (Inherited from System.Windows.FrameworkElement)
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInvalidateArrange (Inherited from System.Windows.UIElement)
public MethodInvalidateMeasure (Inherited from System.Windows.UIElement)
public MethodMeasure (Inherited from System.Windows.UIElement)
public MethodOnApplyTemplate (Inherited from System.Windows.FrameworkElement)
public MethodReadLocalValue (Inherited from System.Windows.DependencyObject)
public MethodReleaseMouseCapture (Inherited from System.Windows.UIElement)
public MethodRemoveHandler (Inherited from System.Windows.UIElement)
public MethodSetBinding (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.  
public MethodTransformToVisual (Inherited from System.Windows.UIElement)
public MethodUpdateAdornments The diagram asks each tool to update any adornments the tool might use for a given part.  
public MethodUpdateLayout (Inherited from System.Windows.UIElement)
Top

Protected Methods

 NameDescription
protected MethodArrangeOverride (Inherited from System.Windows.FrameworkElement)
protected MethodCaptureMouseThis calls UIElement.CaptureMouse on the DiagramTool.Diagram's Northwoods.GoXam.Diagram.Panel.  
protected MethodFindAdornedElementGiven a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedElement.  
protected MethodFindAdornedPartGiven a handle element in an adornment, return its adornment's Northwoods.GoXam.Adornment.AdornedPart.  
protected MethodFindAdornmentGiven a handle element, return its containing Northwoods.GoXam.Adornment.  
protected MethodFindElementUpFromOverloaded. Search up the chain of parent visual elements starting with the given element to find one for which pred is true  
protected MethodFindPartAtFind a Northwoods.GoXam.Part at the given point, perhaps requiring it to be Northwoods.GoXam.Part.Selectable.  
protected MethodFindToolHandleAt Find an element at the given point that is a tool handle.  
protected MethodGetWheelDelta Return how much the wheel has turned.  
protected MethodIsAltKeyDown Return true when the alt key modifier is pressed.  
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.  
protected MethodIsControlKeyDown Return true when the control key modifier is pressed.  
protected MethodIsDoubleClick Return true when the last mouse down event occurred very close to and very soon after the previous mouse down event.  
protected MethodIsLeftButtonDown Return true when the left mouse button is pressed during a mouse button event.  
protected MethodIsRightButtonDown Return true when the right mouse button is pressed during a mouse button event.  
protected MethodIsShiftKeyDown Return true when the shift key modifier is pressed.  
protected MethodMeasureOverride (Inherited from System.Windows.FrameworkElement)
protected MethodOnCreateAutomationPeer (Inherited from System.Windows.UIElement)
protected MethodReleaseMouseThis calls UIElement.ReleaseMouseCapture on the DiagramTool.Diagram's Northwoods.GoXam.Diagram.Panel.  
protected MethodStandardMouseSelect Implement the standard behavior for selecting parts with the mouse, depending on the control and shift modifier keys.  
protected MethodStandardMouseWheel Implement the standard behavior for mouse wheel events.  
protected MethodStartTransactionCall Northwoods.GoXam.Diagram.StartTransaction with the given transaction name.  
protected MethodStopTransactionIf DiagramTool.TransactionResult is null, call Northwoods.GoXam.Diagram.RollbackTransaction, otherwise call Northwoods.GoXam.Diagram.CommitTransaction.  
Top

Public Events

 NameDescription
public EventBindingValidationError (Inherited from System.Windows.FrameworkElement)
public EventDataContextChanged (Inherited from System.Windows.FrameworkElement)
public EventDragEnter (Inherited from System.Windows.UIElement)
public EventDragLeave (Inherited from System.Windows.UIElement)
public EventDragOver (Inherited from System.Windows.UIElement)
public EventDrop (Inherited from System.Windows.UIElement)
public EventGotFocus (Inherited from System.Windows.UIElement)
public EventKeyDown (Inherited from System.Windows.UIElement)
public EventKeyUp (Inherited from System.Windows.UIElement)
public EventLayoutUpdated (Inherited from System.Windows.FrameworkElement)
public EventLoaded (Inherited from System.Windows.FrameworkElement)
public EventLostFocus (Inherited from System.Windows.UIElement)
public EventLostMouseCapture (Inherited from System.Windows.UIElement)
public EventMediaCommand (Inherited from System.Windows.UIElement)
public EventMouseEnter (Inherited from System.Windows.UIElement)
public EventMouseLeave (Inherited from System.Windows.UIElement)
public EventMouseLeftButtonDown (Inherited from System.Windows.UIElement)
public EventMouseLeftButtonUp (Inherited from System.Windows.UIElement)
public EventMouseMove (Inherited from System.Windows.UIElement)
public EventMouseRightButtonDown (Inherited from System.Windows.UIElement)
public EventMouseRightButtonUp (Inherited from System.Windows.UIElement)
public EventMouseWheel (Inherited from System.Windows.UIElement)
public EventSizeChanged (Inherited from System.Windows.FrameworkElement)
public EventTextInput (Inherited from System.Windows.UIElement)
public EventTextInputStart (Inherited from System.Windows.UIElement)
public EventTextInputUpdate (Inherited from System.Windows.UIElement)
public EventUnloaded (Inherited from System.Windows.FrameworkElement)
Top

See Also

© 2012 All Rights Reserved.