Intersoft ClientUI Documentation
PointerPoint1 Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > CallOut Class : PointerPoint1 Property






Gets or set the first point that formed the pointer shape.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
Public Property PointerPoint1 As Point
Visual Basic (Usage)Copy Code
Dim instance As CallOut
Dim value As Point
 
instance.PointerPoint1 = value
 
value = instance.PointerPoint1
C# 
[CategoryAttribute("Appearance")]
public Point PointerPoint1 {get; set;}
Delphi 
public read-write property PointerPoint1: Point; 
JScript 
CategoryAttribute("Appearance")
public function get,set PointerPoint1 : Point
Managed Extensions for C++ 
[CategoryAttribute("Appearance")]
public: __property Point get_PointerPoint1();
public: __property void set_PointerPoint1( 
   Point value
);
C++/CLI 
[CategoryAttribute("Appearance")]
public:
property Point PointerPoint1 {
   Point get();
   void set (    Point value);
}

Remarks

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>

 

PointerPoint1, PointerPoint2, PointerPoint3 represent three points that will formed the shape of the pointer. It will draw the line from PointerPoint1 to PointerPoint2 and finally to PointerPoint3. Try to experiment with the values to get different kind of shapes.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.