TrackBarEdit.Maximize(TrackBarIncrementTargetEnum) Method
Sets the specified range parameter to the maximum allowed value.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.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 Maximize method sets the RangeBaseEdit.Value property to RangeBaseEdit.Maximum. The target parameter is ignored.
Range
A range track bar, allowing a range of values to be specified. The Maximize method maximizes the specified range parameter. For example, if the target parameter is set to TrackBarIncrementTargetEnum.SelectionStart, the TrackBarEdit.SelectionStart property is set to TrackBarEdit.SelectionEnd.
Zoom
A zooming track bar. The Maximize method sets the RangeBaseEdit.Value property to RangeBaseEdit.Maximum. The target parameter is ignored.
ZoomRange
A zooming range track bar, allowing a range of values to be specified. The Maximize method maximizes the specified range parameter. For example, if the target parameter is set to TrackBarIncrementTargetEnum.SelectionEnd, the editor’s TrackBarEditRange.SelectionEnd property is set to RangeBaseEdit.Maximum.