RangeBase::Maximum Property
.NET Framework (current version)
Gets or sets the highest possible Value of the range element.
Assembly: PresentationFramework (in PresentationFramework.dll)
Slider overrides the metadata of this property and sets its default to 10. ProgressBar overrides the metadata of this property and sets its default to 100. For more information, see Dependency Properties Overview.
Identifier field | |
Metadata properties set to true | None |
RangeBase controls such as Slider and ProgressBar inherit the RangeBase properties. The following example shows a Slider that uses the Maximum property.
<Slider Name="slider1" Width="100" Orientation="Horizontal" HorizontalAlignment="Left" IsSnapToTickEnabled="True" Minimum="1" Maximum="20" TickPlacement="Both" TickFrequency="2" AutoToolTipPlacement="BottomRight"/>
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: