Intersoft ClientUI Documentation
IndicatorOffset Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDock Namespace > UXDock Class : IndicatorOffset Property






Gets or sets the offset position of the indicator.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Indicator")>
Public Property IndicatorOffset As Thickness
Visual Basic (Usage)Copy Code
Dim instance As UXDock
Dim value As Thickness
 
instance.IndicatorOffset = value
 
value = instance.IndicatorOffset
C# 
[CategoryAttribute("Indicator")]
public Thickness IndicatorOffset {get; set;}
Delphi 
public read-write property IndicatorOffset: Thickness; 
JScript 
CategoryAttribute("Indicator")
public function get,set IndicatorOffset : Thickness
Managed Extensions for C++ 
[CategoryAttribute("Indicator")]
public: __property Thickness get_IndicatorOffset();
public: __property void set_IndicatorOffset( 
   Thickness value
);
C++/CLI 
[CategoryAttribute("Indicator")]
public:
property Thickness IndicatorOffset {
   Thickness get();
   void set (    Thickness value);
}

Remarks

Each button also has an indicator element, which indicated the last selected button.

Important thing to be noted is that by default each button has an indicator that take place below the button. You need to make sure that there is enough space specified from DockMargin. Alternatively you can change the position of Indicator from IndicatorOffset property.

Follows are settings related to indicator appearances:

  • IndicatorSource
    You can use your own indicator image instead of the built in one by specifying this property.
  • IndicatorHeight and IndicatorWidth
    Specify the dimension of the indicator object.
  • IndicatorOffset
    Specify the offset position of the indicator object. By default its positioned at (0,32) which mean 32 pixel lower.
XAML Copy Code
<Intersoft:UXDock IndicatorSource="newIndicator.jpg">           
</Intersoft:UXDock>

Properties related to indicator settings are available UXDock level and UXDockButton level. Modifying the properties at UXDock level will apply to all buttons belong to UXDock.

On the other hand, modifying the value at UXDockButton level will only apply to that specified button.

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.