Export (0) Print
Expand All

Slider.OnMaximumChanged Method

Responds to a change in the value of the Maximum property.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)

protected override void OnMaximumChanged (
	double oldMaximum,
	double newMaximum
)
protected void OnMaximumChanged (
	double oldMaximum, 
	double newMaximum
)
protected override function OnMaximumChanged (
	oldMaximum : double, 
	newMaximum : double
)
You cannot use methods in XAML.

Parameters

oldMaximum

The old value of the Maximum property.

newMaximum

The new value of the Maximum property.

If the new Maximum value is less than the SelectionStart value, this implementation sets the SelectionStart value to the Maximum value. If the new Maximum value is less than the SelectionEnd value, the SelectionEnd value is set to the Maximum value.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft