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






Gets or sets the offset position of the callout's pointer.

Syntax

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

Remarks

One of the most unique features in CallOut control is the ability to easily customize the pointer shape.

PointerOffset determines the offset position from its default positioning (at center of the CallOut).

XAML Copy Code
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"
    Orientation="Horizontal">
    <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerOffset="20"/>
    <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerPosition="Left"
        PointerOffset="20"/>
    <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerPosition="Top"
        PointerOffset="20"/>
    <Intersoft:CallOut Margin="4" Width="128" Height="128" PointerPosition="Right"
        PointerOffset="20"/>
</StackPanel>

When pointer position is set to bottom / top, setting a negative value to pointer offset will shift the pointer to the left from its original position and vice versa. When pointer position is set to left / right, setting a negative value to pointer offset will shift the pointer to the right from its original position and vice versa.

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.