public class TXDrawingControl : System.Windows.FrameworkElement
Public Class TXDrawingControl Inherits System.Windows.FrameworkElement
||Initializes a new instance of the TXDrawing
||Indicates that the visible bounds of the displayed shapes have been changed (by changing the shape's angle, outline width, yellow adjust rectangles or the control's border width) in so far that the control requires an update of its bounds.|
|Changed||Indicates that the number or formatting of the displayed shapes has been changed.|
||Occurs when a shape has been adjusted by using its yellow adjust rectangle.|
||Occurs when a shape has been clicked on.|
||Occurs when a new shape has been created.|
||Occurs when a shape has been deleted from the TX Drawing Control's shapes collection.|
||Occurs when a shape has been deselected.|
||Occurs when a shape has been flipped.|
||Occurs when shape formatting attributes which cannot be handled with the built-in mouse interface have been changed.|
||Occurs when a shape has been moved with the built-in mouse interface.|
||Occurs when a shape has been selected.|
||Occurs when a shape has been sized with the built-in mouse interface.|
||Occurs when UI manipulations such as shape moving or selection changing have caused the view to change.|
||Clears the undo buffer of the TX Drawing Control.|
|Copy||Copies the current selected shapes of the TX Drawing Control to the Clipboard.|
|Cut||Moves the current selected shapes of the TX Drawing Control to the Clipboard.|
||Opens a dialog to format selected shapes.|
|Load||Loads shapes data into the TX Drawing Control from a specified object of type System.
|Paste||Pastes the content of the clipboard into the TX Drawing Control|
||Renders the displayed shapes on the specified System.
|Redo||Redoes the last TX Drawing Control operation.|
|Save||Saves the shapes data to the given object of type System.
||Saves the displayed shapes as an image.|
||Selects all shapes in the TX Drawing Control.|
||Specifies, pursuant to a Zoom
||If any changes of the the displayed shapes' visible bounds require an adaption of the TX Drawing Control bounds, the size and/or location of the control is expanded respectively decreased by the considering value of the considering shape's side(s).|
|Undo||Undoes the last edit operation in the TX Drawing Control.|
||Gets or sets the TX Drawing Control's back color.|
||Gets or sets the TX Drawing Control's border line color.
||Gets or sets the TX Drawing Control's border line width.|
||Informs whether shapes are selected which can be copied to the internal clipboard.|
||Informs whether the internal clipboard contains shapes that can be pasted into the TX Drawing Control.|
||Informs whether an operation can be re-done using the Redo method.|
||Gets a value indicating whether the user can undo the previous operation in the TX Drawing Control.|
||Gets a value whether the TX Drawing Control is interpreted as canvas or not.|
|Selection||Gets an object of type Drawing.
|Shapes||Gets an object of type Shape
||Gets or sets the zoom factor, in percent, for the TX Drawing Control.|