Back to Devexpress

RangeBaseEdit.Maximum Property

wpf-devexpress-dot-xpf-dot-editors-dot-rangebaseedit-216308fb.md

latest4.6 KB
Original Source

RangeBaseEdit.Maximum Property

Gets or sets the maximum allowed value.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public double Maximum { get; set; }
vb
Public Property Maximum As Double

Property Value

TypeDescription
Double

A Double value that specifies the maximum allowed value.

|

Remarks

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

xml
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

xml
Minimum="1"
Maximum="5"
TickPlacement="BottomRight"

wpf-data-grid-create-custom-drop-down-filter/CS/DXGrid_CustomFilterPopup/Window1.xaml#L17

xml
<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

csharp
_Indicator.Minimum = minProgress;
_Indicator.Maximum = maxProgress;
_Indicator.EditValue = currentProgress;

wpf-richedit-use-docvariable-fields/CS/MyProgressIndicator.cs#L32

csharp
_Indicator.Minimum = minProgress;
_Indicator.Maximum = maxProgress;
_Indicator.EditValue = currentProgress;

dxrichedit-for-wpf-how-to-implement-progress-indicator/VB/MyProgressIndicator.vb#L40

vb
_Indicator.Minimum = minProgress
_Indicator.Maximum = maxProgress
_Indicator.EditValue = currentProgress

wpf-richedit-use-docvariable-fields/VB/MyProgressIndicator.vb#L31

vb
_Indicator.Minimum = minProgress
_Indicator.Maximum = maxProgress
_Indicator.EditValue = currentProgress

See Also

Maximize()

Minimize()

RangeBaseEdit Class

RangeBaseEdit Members

DevExpress.Xpf.Editors Namespace