DiagramDesignerControl Methods
The Diagram Designer control.
Name | Description |
---|---|
Add |
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handled 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 UIElement. |
Add |
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Inherited from UIElement. |
Add |
Adds the provided object to the logical tree of this element.
Inherited from Framework |
Add |
Adds handlers to the specified Event |
Add |
Defines the parent-child relationship between two visuals. Inherited from Visual. |
Align |
Scrolls the viewport to apply the specified horizontal and vertical alignment.
Inherited from Diagram |
Align |
Scrolls the viewport according to the specified horizontal and vertical alignment.
Inherited from Diagram |
Apply |
Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. Inherited from UIElement. |
Apply |
Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation. Inherited from UIElement. |
Apply |
Applies the circular layout algorithm.
Inherited from Diagram |
Apply |
Applies the circular layout algorithm.
Inherited from Diagram |
Apply |
Applies the mind-map tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the mind-map tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the mind-map tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the mind-map tree layout algorithm to the subordinates of the specified items.
Inherited from Diagram |
Apply |
Applies the mind-map tree layout algorithm to the subordinates of the specified items.
Inherited from Diagram |
Apply |
Applies the org chart layout algorithm.
Inherited from Diagram |
Apply |
Applies the org chart layout algorithm.
Inherited from Diagram |
Apply |
Applies the Sugiyama (layered) layout algorithm.
Inherited from Diagram |
Apply |
Applies the Sugiyama (layered) layout algorithm.
Inherited from Diagram |
Apply |
Applies the Sugiyama (layered) layout algorithm.
Inherited from Diagram |
Apply |
Applies the Sugiyama (layered) layout algorithm.
Inherited from Diagram |
Apply |
Builds the current template’s visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call.
Inherited from Framework |
Apply |
Applies the tip-over tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the tip-over tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the tip-over tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the Tip-Over Tree layout to the subordinates of the specified diagram items.
Inherited from Diagram |
Apply |
Applies the Tip-Over Tree layout to the subordinates of the specified diagram items.
Inherited from Diagram |
Apply |
Applies the tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the tree layout algorithm.
Inherited from Diagram |
Apply |
Applies the Tree layout to the subordinates of the specified diagram items.
Inherited from Diagram |
Apply |
Applies the Tree layout to the subordinates of the specified diagram items.
Inherited from Diagram |
Arrange |
Positions child elements and determines a size for a UIElement. Parent elements call this method from their Arrange |
Arrange |
Implements Arrange |
Arrange |
Called to arrange and size the content of a Control object. Inherited from Control. |
Attach |
Binds the window’s Title property to the name of the current document and subscribes the diagram to the window’s Closing event. When the end-user attempts to close the window with the diagram that contains unsaved changes, a dialog window is invoked prompting the user to save changes.
Inherited from Diagram |
Begin |
Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation. Inherited from UIElement. |
Begin |
Starts an animation for a specified animated property on this element. Inherited from UIElement. |
Begin |
Starts the runtime initialization.
Inherited from Diagram |
Begin |
Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started.
Inherited from Framework |
Begin |
Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated.
Inherited from Framework |
Begin |
Begins the sequence of actions that are contained in the provided storyboard.
Inherited from Framework |
Bring |
Attempts to bring this element into view, within any scrollable regions it is contained within.
Inherited from Framework |
Bring |
Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within.
Inherited from Framework |
Bring |
Brings the specified diagram items forward one step in the stack.
Inherited from Diagram |
Bring |
Scrolls the diagram and changes its zoom factor to bring the specified diagram items into view.
Inherited from Diagram |
Bring |
Brings the specified diagram items to the front of the stack.
Inherited from Diagram |
Bring |
Brings the selected diagram items forward one step in the stack.
Inherited from Diagram |
Bring |
Brings the specified diagram items to the front of the stack.
Inherited from Diagram |
Bring |
Scrolls the diagram and changes its zoom factor to bring the selected diagram items into view.
Inherited from Diagram |
Calc |
Returns information on an object located at the specified position.
Inherited from Diagram |
Calc |
Returns information on an object located at the specified position.
Inherited from Diagram |
Calc |
Returns the diagram item located at the specified position.
Inherited from Diagram |
Calc |
Returns the diagram item located at the specified position.
Inherited from Diagram |
Capture |
Attempts to force capture of the mouse to this element. Inherited from UIElement. |
Capture |
Attempts to force capture of the stylus to this element. Inherited from UIElement. |
Capture |
Attempts to force capture of a touch to this element. Inherited from UIElement. |
Change |
Changes the type of the specified connectors.
Inherited from Diagram |
Change |
Specifies the connector type for the currently selected connectors.
Inherited from Diagram |
Check |
Determines whether the calling thread has access to this Dispatcher |
Clear |
Unselects any selected shapes and connectors.
Inherited from Diagram |
Clear |
Clears the local value of a property. The property to be cleared is specified by a Dependency |
Clear |
Clears the local value of a read-only property. The property to be cleared is specified by a Dependency |
Coerce |
Coerces the value of the specified dependency property. This is accomplished by invoking any Coerce |
Copy |
Copies the currently selected diagram items to the clipboard.
Inherited from Diagram |
Create |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Diagram |
Create |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Diagram |
Create |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Diagram |
Create |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Diagram |
Create |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Diagram |
Cut |
Moves the currently selected diagram items to the clipboard.
Inherited from Diagram |
Delete |
Removes the specified diagram items.
Inherited from Diagram |
Delete |
Removes the currently selected diagram items.
Inherited from Diagram |
Detach |
Removes changes made by the Diagram |
End |
Ends the runtime initialization.
Inherited from Diagram |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether a provided Dependency |
Export |
Invokes the Export dialog window.
Inherited from Diagram |
Export |
Exports the diagram to the specified stream.
Inherited from Diagram |
Export |
Exports the diagram to the specified stream.
Inherited from Diagram |
Export |
Exports the diagram in the specified format to a file.
Inherited from Diagram |
Export |
Exports the diagram in the specified format to a file.
Inherited from Diagram |
Export |
Exports the diagram to a file.
Inherited from Diagram |
Export |
Invokes the Export dialog window.
Inherited from Diagram |
Export |
Exports the diagram to the specified stream in an image format.
Inherited from Diagram |
Export |
Exports the diagram to the specified file.
Inherited from Diagram |
Export |
Exports the diagram to a single-page PDF file specified by the user in the invoked dialog window.
Inherited from Diagram |
Export |
Exports the diagram to a single-page PDF document which is sent to the specified stream.
Inherited from Diagram |
Export |
Exports the diagram to a single-page PDF file.
Inherited from Diagram |
Export |
Exports the diagram to a single-page PDF file specified by the user in the invoked dialog window.
Inherited from Diagram |
Export |
Exports the diagram in the SVG format to the specified stream.
Inherited from Diagram |
Export |
Invokes the Export dialog window.
Inherited from Diagram |
Export |
Exports the diagram in the SVG format to a file.
Inherited from Diagram |
Find |
Returns the common ancestor of two visual objects. Inherited from Visual. |
Find |
Finds an element that has the provided identifier name.
Inherited from Framework |
Find |
Searches for a resource with the specified key, and throws an exception if the requested resource is not found.
Inherited from Framework |
Fit |
Changes the page size to fit the diagram contents.
Inherited from Diagram |
Fit |
Scrolls the diagram and changes its zoom factor so that the viewport is sufficiently large to display the specified items.
Inherited from Diagram |
Fit |
Sets the diagram zoom factor value to fit all pages with content within the viewport.
Inherited from Diagram |
Fit |
Sets the diagram zoom factor value to fit the entire diagram width.
Inherited from Diagram |
Focus() | Attempts to set focus to this element. Inherited from UIElement. |
Get |
Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation. Inherited from UIElement. |
Get |
Gets the value of the Diagram |
Get |
Returns the Binding |
Get |
Gets the value of the Diagram |
Get |
Gets the value of the Diagram |
Get |
Gets the value of the Flow |
Get |
Gets a hash code for this Dependency |
Get |
Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.
Inherited from Framework |
Get |
Creates a specialized enumerator for determining which dependency properties have locally set values on this Dependency |
Get |
Returns the named element in the visual tree of an instantiated Control |
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
Returns an alternative logical parent for this element if there is no visual parent.
Inherited from Framework |
Get |
Returns the current effective value of a dependency property on this instance of a Dependency |
Get |
Returns the bounds of the currently visible area.
Inherited from Diagram |
Get |
Overrides Get |
Hit |
Implements Hit |
Hit |
Implements Hit |
Input |
Returns the input element within the current element that is at the specified coordinates, relative to the current element’s origin. Inherited from UIElement. |
Insert |
Invokes the Insert Picture dialog that allows the end-user to add an image item to the diagram.
Inherited from Diagram |
Invalidate |
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by Update |
Invalidate |
Invalidates the measurement state (layout) for the element. Inherited from UIElement. |
Invalidate |
Re-evaluates the effective value for the specified dependency property.
Inherited from Dependency |
Invalidate |
Invalidates the rendering of the element, and forces a complete new layout pass. On |
Is |
Determines whether the visual object is an ancestor of the descendant visual object. Inherited from Visual. |
Is |
Determines whether the visual object is a descendant of the ancestor visual object. Inherited from Visual. |
Load |
Loads a diagram document from a stream.
Inherited from Diagram |
Load |
Loads a diagram from the specified file.
Inherited from Diagram |
Load |
Invokes the Insert Picture dialog that allows the end-user to to change the selected image item.
Inherited from Diagram |
Measure |
Updates the Desired |
Measure |
Implements basic measure-pass layout system behavior for Framework |
Measure |
Called to remeasure a control. Inherited from Control. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Move |
Moves the keyboard focus away from this element and to another element in a provided traversal direction.
Inherited from Framework |
New |
Discards the current document and creates a new one.
Inherited from Diagram |
New |
Closes the current file and creates a new one.
Inherited from Diagram |
On |
Provides class handling for when an access key that is meaningful for this element is invoked. Inherited from UIElement. |
On |
Called after the template is completely generated and attached to the visual tree. |
On |
Supports layout behavior when a child element is resized. Inherited from UIElement. |
On |
Invoked whenever an unhandled Context |
On |
Invoked whenever an unhandled Context |
On |
Called when the DPI at which this View is rendered changes. Inherited from Visual. |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Give |
On |
Invoked whenever an unhandled Got |
On |
Invoked when an unhandled Got |
On |
Invoked when an unhandled Got |
On |
Invoked when an unhandled Got |
On |
Provides class handling for the Got |
On |
Raises the Initialized event. This method is invoked whenever Istrue internally.
Inherited from Framework |
On |
Invoked when an unhandled Is |
On |
Invoked just before the Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Key |
On |
Invoked when an unhandled Key |
On |
Raises the Lost |
On |
Invoked when an unhandled Lost |
On |
Invoked when an unhandled Lost |
On |
Invoked when an unhandled Lost |
On |
Provides class handling for the Lost |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Provides class handling for the Manipulation |
On |
Raises the Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Raises the Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Provides class handling for the Preview |
On |
Provides class handling for the Preview |
On |
Provides class handling for the Preview |
On |
Invoked when an unhandled Query |
On |
Invoked when an unhandled Query |
On |
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing. Inherited from UIElement. |
On |
Raises the Size |
On |
Invoked when the style in use on this element changes, which will invalidate the layout.
Inherited from Framework |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Called whenever the control’s template changes. Inherited from Control. |
On |
Invoked when an unhandled Text |
On |
Invoked whenever an unhandled Tool |
On |
Invoked whenever the Tool |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Called when the Visual |
On |
Invoked when the parent of this element in the visual tree is changed. Overrides On |
Open |
Displays the “Open File” dialog that allows an end-user to load an XML file containing a saved diagram.
Inherited from Diagram |
Parent |
Supports incremental layout implementations in specialized subclasses of Framework |
Paste() |
Inserts the diagram items from the clipboard onto the Canvas.
Inherited from Diagram |
Point |
Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. Inherited from Visual. |
Point |
Converts the coordinates of a point on the canvas to the control-relative coordinates.
Inherited from Diagram |
Point |
Converts the control-relative coordinates to the coordinates of a point on the canvas.
Inherited from Diagram |
Point |
Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. Inherited from Visual. |
Predict |
Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus.
Inherited from Framework |
Print() |
Invokes the Print dialog window.
Inherited from Diagram |
Print |
Invokes the Print dialog window.
Inherited from Diagram |
Print |
Invokes the Print dialog window.
Inherited from Diagram |
Print |
Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
Inherited from Diagram |
Print |
Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
Inherited from Diagram |
Print |
Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
Inherited from Diagram |
Print |
Exports the diagram to a multi-page PDF document which is sent to the specified stream.
Inherited from Diagram |
Print |
Exports the diagram to a multi-page PDF document which is sent to the specified stream.
Inherited from Diagram |
Print |
Exports the diagram to a multi-page PDF document which is sent to the specified stream.
Inherited from Diagram |
Quick |
Prints the current diagram to the default printer.
Inherited from Diagram |
Quick |
Prints the current diagram to the default printer.
Inherited from Diagram |
Quick |
Prints the current diagram to the default printer.
Inherited from Diagram |
Raise |
Raises a specific routed event. The Routed |
Read |
Returns the local value of a dependency property, if it exists.
Inherited from Dependency |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Register |
Provides an accessor that simplifies access to the Name |
Register |
Registers a custom routing strategy for the specified connector type.
Inherited from Diagram |
Release |
Releases all captured touch devices from this element. Inherited from UIElement. |
Release |
Releases the mouse capture, if this element held the capture. Inherited from UIElement. |
Release |
Releases the stylus device capture, if this element held the capture. Inherited from UIElement. |
Release |
Attempts to release the specified touch device from this element. Inherited from UIElement. |
Remove |
Removes the specified routed event handler from this element. Inherited from UIElement. |
Remove |
Removes the provided object from this element’s logical tree. Framework |
Remove |
Removes the parent-child relationship between two visuals. Inherited from Visual. |
Reset |
Rolls the selected images back to their original state, reverting all resizing and rotation transformations.
Inherited from Diagram |
Save |
Saves the current diagram document to a stream.
Inherited from Diagram |
Save |
Saves the current diagram to the specified file.
Inherited from Diagram |
Save |
Saves the diagram to a file.
Inherited from Diagram |
Save |
Invokes the Save File As dialog window that allows the end-user to select the name and destination of the file to which to save the current diagram.
Inherited from Diagram |
Scroll |
Scrolls the diagram to the specified point.
Inherited from Diagram |
Select |
Selects all shapes and connectors within the current document.
Inherited from Diagram |
Select |
Selects the specified diagram item.
Inherited from Diagram |
Select |
Selects the specified diagram items.
Inherited from Diagram |
Select |
Selects the specified diagram items.
Inherited from Diagram |
Send |
Sends the specified diagram items back one step in the stack.
Inherited from Diagram |
Send |
Sends the specified diagram items to the back of the stack.
Inherited from Diagram |
Send |
Sends the selected diagram items back one step in the stack.
Inherited from Diagram |
Send |
Sends the specified diagram items to the back of the stack.
Inherited from Diagram |
Set |
Sets the value of the Diagram |
Set |
Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.
Inherited from Framework |
Set |
Attaches a binding to this element, based on the provided binding object.
Inherited from Framework |
Set |
Inherited from Diagram |
Set |
Sets the value of a dependency property without changing its value source.
Inherited from Dependency |
Set |
Sets the value of the Diagram |
Set |
Sets the value of the Diagram |
Set |
Sets the value of the Flow |
Set |
Searches for a resource with the specified name and sets up a resource reference to it for the specified property.
Inherited from Framework |
Set |
Sets the specified zoom factor for selected image items.
Inherited from Diagram |
Set |
Sets the specified stretch mode for selected image items.
Inherited from Diagram |
Set |
Sets the local value of a dependency property, specified by its dependency property identifier.
Inherited from Dependency |
Set |
Sets the local value of a read-only dependency property, specified by the Dependency |
Should |
Returns whether serialization processes should serialize the contents of the Command |
Should |
Returns whether serialization processes should serialize the contents of the Input |
Should |
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.
Inherited from Dependency |
Should |
Returns whether serialization processes should serialize the contents of the Resources property.
Inherited from Framework |
Should |
Returns whether serialization processes should serialize the contents of the Style property.
Inherited from Framework |
Should |
Returns whether serialization processes should serialize the contents of the Triggers property.
Inherited from Framework |
Show |
Invokes the text editor for the primary selected diagram shape.
Inherited from Diagram |
Show |
Invokes the Print Preview.
Inherited from Diagram |
Show |
Inherited from Diagram |
Show |
Inherited from Diagram |
IQuery |
For a description of this member, see the Is |
Toggle |
Shows or hides the subordinates of the selected diagram item.
Inherited from Diagram |
To |
Returns the string representation of a Control object. Inherited from Control. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. Inherited from Visual. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. Inherited from Visual. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. Inherited from Visual. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. Inherited from Visual. |
Translate |
Translates a point relative to this element to coordinates that are relative to the specified element. Inherited from UIElement. |
Try |
Searches for a resource with the specified key, and returns that resource if found.
Inherited from Framework |
Unregister |
Simplifies access to the Name |
Unregister |
Removes the custom routing strategy applied to the specified connector type.
Inherited from Diagram |
Unselect |
Unselects the specified diagram item.
Inherited from Diagram |
Update |
Recalculates the route for the specified diagram connectors.
Inherited from Diagram |
Update |
Reapplies the default style to the current Framework |
Update |
Ensures that all visual child elements of this element are properly updated for layout. Inherited from UIElement. |
Verify |
Enforces that the calling thread has access to this Dispatcher |
Zoom |
Increases the document zoom factor.
Inherited from Diagram |
Zoom |
Decreases the document zoom factor.
Inherited from Diagram |
See Also