Intersoft.Client.UI.Controls Namespace > CallOut Class : PointerPoint1 Property |
<CategoryAttribute("Appearance")> Public Property PointerPoint1 As Point
Dim instance As CallOut Dim value As Point instance.PointerPoint1 = value value = instance.PointerPoint1
[CategoryAttribute("Appearance")] public Point PointerPoint1 {get; set;}
[CategoryAttribute("Appearance")] public: property Point PointerPoint1 { Point get(); void set ( Point value); }
One of the most unique features in CallOut control is the ability to easily customize the pointer shape.
PointerPoint1, PointerPoint2 and PointerPoint3, determine the triangular points that create the pointer shape.
Note that all the points are relative to the center point of the CallOut. Which mean point (0, 0) is the center, point (-8, 0) is 8 pixel to left from the center point, and point (8, 0) is 8 pixel to right from the center point.
XAML |
Copy Code
|
---|---|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal"> <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerOffset="20" PointerPoint1="2,0" PointerPoint3="20,0" PointerPoint2="0,24"/> <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerPosition="Left" PointerOffset="20" PointerPoint1="2,0" PointerPoint3="20,0" PointerPoint2="0,24"/> <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerPosition="Top" PointerOffset="20" PointerPoint1="2,0" PointerPoint3="20,0" PointerPoint2="0,24"/> <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerPosition="Right" PointerOffset="20" PointerPoint1="2,0" PointerPoint3="20,0" PointerPoint2="0,24"/> </StackPanel> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2