TrackBarEdit.Decrement(Double, TrackBarIncrementTargetEnum) Method
Decreases the specified range parameter by the specified value.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
value | Double | A Double value to be subtracted. |
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 Decrement method subtracts the specified value from its RangeBaseEdit.Value property. The target parameter is ignored.
Range
A range track bar, allowing a range of values to be specified. The Decrement method subtracts the specified value from the specified range parameter. For example, if the target parameter is set to TrackBarIncrementTargetEnum.SelectionStart, the editor’s TrackBarEdit.SelectionStart property is decreased by value.
Zoom
A zooming track bar. The Decrement method subtracts the specified value from its RangeBaseEdit.Value property. The target parameter is ignored.
ZoomRange
A zooming range track bar, allowing a range of values to be specified. The Decrement method subtracts the specified value from the specified range parameter. For example, if the target parameter is set to TrackBarIncrementTargetEnum.SelectionRange, the editor’s TrackBarEditRange.SelectionStart and TrackBarEdit.SelectionEnd properties are decreased by value.