wpf-devexpress-dot-xpf-dot-editors-dot-rangebaseedit-216308fb.md
Gets or sets the maximum allowed value.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public double Maximum { get; set; }
Public Property Maximum As Double
| Type | Description |
|---|---|
| Double |
A Double value that specifies the maximum allowed value.
|
The editor’s RangeBaseEdit.Value property cannot be set to a value less than RangeBaseEdit.Minimum and greater that RangeBaseEdit.Maximum. By default, these properties are set to 0 and 100 , respectively.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Maximum 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.
reporting-wpf-report-designer-customize-controls-smart-tag/CS/App.xaml#L56
Minimum="0"
Maximum="{Binding MaxValue, UpdateSourceTrigger=PropertyChanged}"
EditValueType="{x:Type sys:Single}"
wpf-svgimagesource-extension-specify-vector-image-as-glyph/CS/DXSample/MainWindow.xaml#L53
Minimum="1"
Maximum="5"
TickPlacement="BottomRight"
wpf-data-grid-create-custom-drop-down-filter/CS/DXGrid_CustomFilterPopup/Window1.xaml#L17
<Label Content="Minimum Index:" Margin="5"/>
<dxe:TrackBarEdit Minimum="0" Maximum="100"
Width="200" Margin="10"
dxrichedit-for-wpf-how-to-implement-progress-indicator/CS/MyProgressIndicator.cs#L42
_Indicator.Minimum = minProgress;
_Indicator.Maximum = maxProgress;
_Indicator.EditValue = currentProgress;
wpf-richedit-use-docvariable-fields/CS/MyProgressIndicator.cs#L32
_Indicator.Minimum = minProgress;
_Indicator.Maximum = maxProgress;
_Indicator.EditValue = currentProgress;
dxrichedit-for-wpf-how-to-implement-progress-indicator/VB/MyProgressIndicator.vb#L40
_Indicator.Minimum = minProgress
_Indicator.Maximum = maxProgress
_Indicator.EditValue = currentProgress
wpf-richedit-use-docvariable-fields/VB/MyProgressIndicator.vb#L31
_Indicator.Minimum = minProgress
_Indicator.Maximum = maxProgress
_Indicator.EditValue = currentProgress
See Also