Information Adorner
RadDiagram shows information tool-tips that appear below the manipulation adorner when you resize, rotate or drag a shape or group of shapes and connections.
RadDiagram uses the ItemInformationAdorner to visualize information regarding the position, size and rotation angle of its shapes.
Fig.1 visualizes the X and Y component of the current position of the shape when moving. It also visualizes the angle that the shape is rotated to and the current Width and Height of the corresponding shape when resizing.
Figure 1: Information Adorner
Custom ItemInformationAdorner
ItemInformationAdorner can be customized in order to display additional elements, e.g. a button. To achieve it, you should create a derivative of the Telerik.WinControls.UI.Diagrams.Primitives.ItemInformationAdorner class and override its CreateChildElements method. Here is demonstrated a sample code snippet:
Now, you should apply the custom ItemInformationAdorner to DiagramElement:
Figure 2: Custom Information Adorner