Intersoft ClientUI Documentation
TickPlacement Property



Gets or sets the position of tick bar items with respect to the track of the slider bar.
Syntax
<CategoryAttribute("Common Properties")>
Public Property TickPlacement As TickPlacement
Dim instance As UXSliderBarBase
Dim value As TickPlacement
 
instance.TickPlacement = value
 
value = instance.TickPlacement
[CategoryAttribute("Common Properties")]
public TickPlacement TickPlacement {get; set;}
[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:

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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXSliderBarBase Class
UXSliderBarBase Members
UXSliderBar
UXRangeSliderBar
UXTickBar

Send Feedback