Represents an item information adorner.
Definition
Namespace:Telerik.WinControls.UI.Diagrams.Primitives
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class ItemInformationAdorner : FrameworkElement, IDisposable, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, INotifyPropertyChanged
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementItemInformationAdorner...
Implements:
Inherited Members
Constructors
Initializes a new instance of the ItemInformationAdorner class.
public ItemInformationAdorner()
Fields
Identifies the AdditionalContent dependency property.
public static readonly RadProperty AdditionalContentProperty
Identifies the InformationTip dependency property.
public static readonly RadProperty InformationTipProperty
Identifies the InformationTipTemplateSelector dependency property.
public static readonly RadProperty InformationTipTemplateSelectorProperty
Properties
Gets or sets the selection area's height used to vertically center additional content and, for some rotated selections, size the adorner.
public double AdornerHeight { get; set; }
Gets or sets the selection area's width used to place additional content and, for some rotated selections, size the adorner.
public double AdornerWidth { get; set; }
Gets or sets the diagram.
protected RadDiagramElement Diagram { get; set; }
Gets or sets the information tip.
public object InformationTip { get; set; }
The information tip.
Gets the panel that contains the information-tip presenter.
public LightVisualElement InformationTipPanel { get; }
Gets or sets the information tip template selector.
public DataTemplateSelector InformationTipTemplateSelector { get; set; }
The information tip template selector.
Indicates whether the additional content is visible or not.
public bool IsAdditionalContentVisible { get; }
Gets a value indicating whether this instance is information tip visible.
public bool IsInformationTipVisible { get; }
Gets or sets the selection bounds' top-left position used to place additional content relative to the selection.
public PointF SelectionLocation { get; set; }
Methods
Creates the information-tip panel and presenter, then loads the current tip text.
protected override void CreateChildElements()
Overrides:
Shows the information tip for a second and then closes it.
public void GlimpseInformationTip()
Synchronizes the tip text alignment when the adorner's horizontal or vertical alignment changes.
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the property that changed.
Overrides:
Paints child elements only while the information-tip panel is more than half opaque.
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectangle, float angle, SizeF scale)
The graphics surface used to paint child elements.
clipRectangleRectangleThe visible clipping rectangle.
anglefloatThe element angle supplied by the paint pipeline.
scaleSizeFThe element scale supplied by the paint pipeline.
Overrides:
When overridden, updates the additional content.
protected virtual void UpdateAdditionalContentOverride(object content)
The content.
Events
Indicates when the IsAdditionalContentVisible property changes.
public event EventHandler IsAdditionalContentVisibleChanged