Intersoft ClientUI Documentation
Ticks Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXTickBar Class : Ticks Property






Gets or sets the position of the tick bar items to display in the tick bar.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property Ticks As DoubleCollection
Visual Basic (Usage)Copy Code
Dim instance As UXTickBar
Dim value As DoubleCollection
 
instance.Ticks = value
 
value = instance.Ticks
C# 
[CategoryAttribute("Common Properties")]
public DoubleCollection Ticks {get; set;}
Delphi 
public read-write property Ticks: DoubleCollection; 
JScript 
CategoryAttribute("Common Properties")
public function get,set Ticks : DoubleCollection
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property DoubleCollection* get_Ticks();
public: __property void set_Ticks( 
   DoubleCollection* value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property DoubleCollection^ Ticks {
   DoubleCollection^ get();
   void set (    DoubleCollection^ value);
}

Remarks

By default, all tickbar items will be displayed in the calculated position based on the number of tickbar items and the available rendered area. In some cases, you might need to show some tickbar items and hide the others. In this case, you can specify which tickbar items to be displayed using Ticks property. For example, if you set Ticks property to 1, 5, 7, then the first, fifth, and seventh tickbar items will be displayed and the other tickbar items will be hidden.

XAML Copy Code
<Intersoft:UXTickBar Ticks="1 5 7">
</Intersoft:UXTickBar>
            

Configuring Ticks in UXTickBar

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.