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






Gets or sets the image source for the indicator object.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Indicator")>
Public Property IndicatorSource As ImageSource
Visual Basic (Usage)Copy Code
Dim instance As UXDock
Dim value As ImageSource
 
instance.IndicatorSource = value
 
value = instance.IndicatorSource
C# 
[CategoryAttribute("Indicator")]
public ImageSource IndicatorSource {get; set;}
Delphi 
public read-write property IndicatorSource: ImageSource; 
JScript 
CategoryAttribute("Indicator")
public function get,set IndicatorSource : ImageSource
Managed Extensions for C++ 
[CategoryAttribute("Indicator")]
public: __property ImageSource* get_IndicatorSource();
public: __property void set_IndicatorSource( 
   ImageSource* value
);
C++/CLI 
[CategoryAttribute("Indicator")]
public:
property ImageSource^ IndicatorSource {
   ImageSource^ get();
   void set (    ImageSource^ 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.