Back to Devexpress

RepositoryItemTrackBar.Minimum Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtrackbar.md

latest5.1 KB
Original Source

RepositoryItemTrackBar.Minimum Property

Gets or sets the editor’s minimum value.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0)]
[DXCategory("Behavior")]
public virtual int Minimum { get; set; }
vb
<DefaultValue(0)>
<DXCategory("Behavior")>
Public Overridable Property Minimum As Integer

Property Value

TypeDefaultDescription
Int320

An integer value which specifies the minimum value for the track bar.

|

Remarks

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.

winforms-mvvm-best-practices/CS/DataBindingCapabilitiesConverters/DataBindingViaDefaultConvertersFluentAPIUserControl.cs#L19

csharp
trackBar.Dock = DockStyle.Top;
trackBar.Properties.Minimum = 0;
trackBar.Properties.Maximum = 100;

winforms-scheduler-localizer-translate-ui/CS/SchedulerLocalizerExample/OutlookAppointmentForm.cs#L123

csharp
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

csharp
protected internal virtual void SetupPredefinedConstraints() {
    this.tbProgress.Properties.Minimum = AppointmentProcessValues.Min;
    this.tbProgress.Properties.Maximum = AppointmentProcessValues.Max;

winforms-mvvm-best-practices/VB/DataBindingCapabilitiesConverters/DataBindingViaDefaultConvertersFluentAPIUserControl.vb#L19

vb
trackBar.Dock = DockStyle.Top
trackBar.Properties.Minimum = 0
trackBar.Properties.Maximum = 100

winforms-scheduler-localizer-translate-ui/VB/SchedulerLocalizationExample_VB/OutlookAppointmentForm.vb#L158

vb
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

vb
Protected Friend Overridable Sub SetupPredefinedConstraints()
    Me.tbProgress.Properties.Minimum = AppointmentProcessValues.Min
    Me.tbProgress.Properties.Maximum = AppointmentProcessValues.Max

See Also

Maximum

RepositoryItemTrackBar Class

RepositoryItemTrackBar Members

DevExpress.XtraEditors.Repository Namespace