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






Gets or sets the position of tick bar items with respect to the track of the slider bar.

Syntax

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

Remarks

By default, the tick bar element are not displayed in UXSliderBar and UXRangeSliderBar. You can set TickPlacement property to set the position of UXTickBar with respect to the track of slider bar. The following options are available as the value of TickPlacement property:

  • BottomRight

    Specifies that UXTickBar will be displayed below the track bar for horizontal slider bar, or to the right of the track bar for vertical slider bar.

  • TopLeft

    Specifies that UXTickBar will be displayed above the track bar for horizontal slider bar, or to the left of the track bar for vertical slider bar.

  • Both

    Specifies that UXTickBar will displayed above and below the track bar for horizontal slider bar, or to the left and right of the track bar for vertical slider bar.

  • None

    Specifies that no UXTickBar will be displayed in the slider bar.

The following example shows how to set the tick placement in horizontal UXSliderBar.

View Copy Code
<StackPanel>
    <Intersoft:UXSliderBar TickPlacement="BottomRight"/>
    <Intersoft:UXSliderBar TickPlacement="TopLeft"/>
    <Intersoft:UXSliderBar TickPlacement="Both"/>
    <Intersoft:UXSliderBar TickPlacement="None"/>
</StackPanel>
            

The following example shows how to set the tick placement in vertical UXSliderBar.

View Copy Code
<StackPanel>
    <Intersoft:UXSliderBar Orientation="Vertical" TickPlacement="BottomRight"/>
    <Intersoft:UXSliderBar Orientation="Vertical" TickPlacement="TopLeft"/>
    <Intersoft:UXSliderBar Orientation="Vertical" TickPlacement="Both"/>
    <Intersoft:UXSliderBar Orientation="Vertical" TickPlacement="None"/>
</StackPanel>
            

The following figure shows the tick placement options in vertical UXSliderBar.

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.