TrackBarEdit.Minimize(TrackBarIncrementTargetEnum) Method
Sets the specified range parameter to the minimum allowed value.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
target | TrackBarIncrementTargetEnum | A TrackBarIncrementTargetEnum enumeration value that specifies which range parameter is changed. |
Remarks
A track bar editor supports four built-in styles which define its appearance and behavior:
Native
A scrollable control used to slide a small thumb along a continuous line. The Minimize method sets the RangeBaseEdit.Value property to RangeBaseEdit.Minimum. The target parameter is ignored.
Range
A range track bar, allowing a range of values to be specified. The Minimize method minimizes the specified range parameter. For example, if the target parameter is set to TrackBarIncrementTargetEnum.SelectionStart, the TrackBarEdit.SelectionStart property is set to RangeBaseEdit.Minimum.
Zoom
A zooming track bar. The Minimize method sets the RangeBaseEdit.Value property to RangeBaseEdit.Minimum. The target parameter is ignored.
ZoomRange
A zooming range track bar, allowing a range of values to be specified. The Minimize method minimizes the specified range parameter. For example, if the target parameter is set to TrackBarIncrementTargetEnum.SelectionEnd, the editor’s TrackBarEditRange.SelectionEnd property is set to TrackBarEdit.SelectionStart.