Class RadCallout
A path-like content control which can point to other objects via arrow. It has body (content) part and an arrow part. Can be used either in XAML or in tooltip / popup scenarios.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Common")]
public class RadCallout : ContentControl
Constructors
RadCallout()
Fields
ArrowAnchorPointProperty
Identifies the ArrowAnchorPoint property.
Declaration
public static readonly DependencyProperty ArrowAnchorPointProperty
Field Value
System.Windows.DependencyProperty
|
ArrowBasePoint1Property
Identifies the ArrowBasePoint1 property.
Declaration
public static readonly DependencyProperty ArrowBasePoint1Property
Field Value
System.Windows.DependencyProperty
|
ArrowBasePoint2Property
Identifies the ArrowBasePoint2 property.
Declaration
public static readonly DependencyProperty ArrowBasePoint2Property
Field Value
System.Windows.DependencyProperty
|
ArrowTypeProperty
Identifies the ArrowType property.
Declaration
public static readonly DependencyProperty ArrowTypeProperty
Field Value
System.Windows.DependencyProperty
|
CalloutTypeProperty
Identifies the CalloutType property.
Declaration
public static readonly DependencyProperty CalloutTypeProperty
Field Value
System.Windows.DependencyProperty
|
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
System.Windows.DependencyProperty
|
GeometryProperty
Identifies the Geometry property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
System.Windows.DependencyProperty
|
GeometryResultProperty
Identifies the Geometry property.
Declaration
public static readonly DependencyProperty GeometryResultProperty
Field Value
System.Windows.DependencyProperty
|
MeasurePathWithInfinityProperty
Identifies the MeasurePathWithInfinity property.
Declaration
public static readonly DependencyProperty MeasurePathWithInfinityProperty
Field Value
System.Windows.DependencyProperty
|
StretchProperty
Identifies the Stretch property.
Declaration
public static readonly DependencyProperty StretchProperty
Field Value
System.Windows.DependencyProperty
|
StrokeDashArrayProperty
Identifies the StrokeDashArray property.
Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
System.Windows.DependencyProperty
|
StrokeThicknessProperty
Identifies the StrokeThickness property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
System.Windows.DependencyProperty
|
TextAlignmentProperty
Identifies the TextAlignment property.
Declaration
public static readonly DependencyProperty TextAlignmentProperty
Field Value
System.Windows.DependencyProperty
|
TextTrimmingProperty
Identifies the TextTrimming property.
Declaration
public static readonly DependencyProperty TextTrimmingProperty
Field Value
System.Windows.DependencyProperty
|
TextWrappingProperty
Identifies the TextWrapping property.
Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ArrowAnchorPoint
Gets or sets the anchor point of the arrow geometry.
Declaration
public Point ArrowAnchorPoint { get; set; }
Property Value
System.Windows.Point
|
ArrowBasePoint1
Gets or sets the first base point of the arrow geometry.
Declaration
public Point ArrowBasePoint1 { get; set; }
Property Value
System.Windows.Point
|
ArrowBasePoint2
Gets or sets the second base point of the arrow geometry.
Declaration
public Point ArrowBasePoint2 { get; set; }
Property Value
System.Windows.Point
|
ArrowType
Gets or sets the arrow type of the callout control.
Declaration
public CalloutArrowType ArrowType { get; set; }
Property Value
CalloutArrowType
|
CalloutType
Gets or sets the callout type of the callout control.
Declaration
public CalloutType CalloutType { get; set; }
Property Value
CalloutType
|
CornerRadius
Gets or sets the corner radius used for the RoundedRectangle geometry.
Declaration
public double CornerRadius { get; set; }
Property Value
System.Double
|
Geometry
Gets or sets the desired (body) geometry of the callout control.
Declaration
public Geometry Geometry { get; set; }
Property Value
System.Windows.Media.Geometry
|
GeometryResult
Gets the combined (body and arrow) geometry of the callout control.
Declaration
public Geometry GeometryResult { get; }
Property Value
System.Windows.Media.Geometry
|
MeasurePathWithInfinity
Gets or sets a value indicating whether the path in the control template is measured with infinity or not.
Declaration
public bool MeasurePathWithInfinity { get; set; }
Property Value
System.Boolean
|
Stretch
Gets or sets the stretch of the path from the control template.
Declaration
public Stretch Stretch { get; set; }
Property Value
System.Windows.Media.Stretch
|
StrokeDashArray
Gets or sets the stroke dash array of the underlying path.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
System.Windows.Media.DoubleCollection
|
StrokeThickness
Gets or sets the stroke thickness of the underlying path.
Declaration
public double StrokeThickness { get; set; }
Property Value
System.Double
|
TextAlignment
Gets or sets the text alignment of the underlying TextBlock.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
System.Windows.TextAlignment
|
TextTrimming
Gets or sets the text trimming mode of the underlying TextBlock.
Declaration
public TextTrimming TextTrimming { get; set; }
Property Value
System.Windows.TextTrimming
|
TextWrapping
Gets or sets the text wrapping mode of the underlying TextBlock.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
System.Windows.TextWrapping
|
Methods
GetArrowGeometry()
Builds the arrow geometry which will be combined with the main geometry for the body of the callout.
Declaration
protected virtual Geometry GetArrowGeometry()
Returns
System.Windows.Media.Geometry
The built arrow geometry. |
GetBaseGeometry()
Builds the base (body) geometry which will be combined with the main geometry for the body of the callout.
Declaration
protected virtual Geometry GetBaseGeometry()
Returns
System.Windows.Media.Geometry
The built base geometry for the callout. |
MeasureOverride(Size)
Provides the behavior for the "Measure" pass of layout.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
System.Windows.Size
constraint
The available size that this element can give to child elements. |
Returns
System.Windows.Size
The size that this element determines it needs during layout, based on its calculations of child element sizes. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates a RadCalloutAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |