Slider, DevComponents.
Namespace: DevComponents.DotNetBar.Controls
Assembly: DevComponents.DotNetBar2.dll
Using: DevComponents.DotNetBar.Controls;
Declaring: DevComponents.DotNetBar.Controls.Slider();
Creating the Slider control.
DevComponents.DotNetBar.Controls.Slider slider = new DevComponents.DotNetBar.Controls.Slider();
slider.Location = new Point(10, 10);
slider.Size = new Size(200, 23);
this.Controls.Add(slider);
Assigning Text value to the Slider control.
slider.Text = "Zoom";
By default the Slider control has a horizontal orientation. The orientation can
be changed to verticle.
slider.SliderOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
Screenshots - Slider, DevComponents.
|
|