windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtrackbar.md
Gets or sets the editor’s minimum value.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(0)]
[DXCategory("Behavior")]
public virtual int Minimum { get; set; }
<DefaultValue(0)>
<DXCategory("Behavior")>
Public Overridable Property Minimum As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
An integer value which specifies the minimum value for the track bar.
|
The Minimum property specifies the lower limit of the TrackBarControl.Value property’s value. After the value of the Minimum property has been changed, the trackbar is immediately redrawn to reflect its new range of values.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Minimum property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
trackBar.Dock = DockStyle.Top;
trackBar.Properties.Minimum = 0;
trackBar.Properties.Maximum = 100;
protected internal virtual void SetupPredefinedConstraints() {
this.tbProgress.Properties.Minimum = AppointmentProcessValues.Min;
this.tbProgress.Properties.Maximum = AppointmentProcessValues.Max;
winforms-scheduler-custom-appointment-edit-form/CS/SchedulerDbExample/CustomAppointmentForm.cs#L119
protected internal virtual void SetupPredefinedConstraints() {
this.tbProgress.Properties.Minimum = AppointmentProcessValues.Min;
this.tbProgress.Properties.Maximum = AppointmentProcessValues.Max;
trackBar.Dock = DockStyle.Top
trackBar.Properties.Minimum = 0
trackBar.Properties.Maximum = 100
Protected Friend Overridable Sub SetupPredefinedConstraints()
Me.tbProgress.Properties.Minimum = AppointmentProcessValues.Min
Me.tbProgress.Properties.Maximum = AppointmentProcessValues.Max
winforms-scheduler-custom-appointment-edit-form/VB/SchedulerDbExample/CustomAppointmentForm.vb#L170
Protected Friend Overridable Sub SetupPredefinedConstraints()
Me.tbProgress.Properties.Minimum = AppointmentProcessValues.Min
Me.tbProgress.Properties.Maximum = AppointmentProcessValues.Max
See Also