IXRRangeBase::SetSmallChange (Compact 2013)

3/28/2014

This method sets a value to be added or subtracted from the Value of the IXRRangeBase control.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetSmallChange(
    float Value
) = 0;

Parameters

  • pValue
    [in] A float value to add or subtract from the Value of the IXRRangeBase control.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can retrieve the Value of this IXRRangeBase control by calling IXRRangeBase::GetValue.

Each control that inherits from IXRRangeBase determines how this small-change value is used. For example, when the user presses the track of a custom scrollbar control, the Value property would increment or decrement by the amount specified by pValue.

.NET Framework Equivalent

System.Windows.Controls.Primitives.RangeBase.SmallChange

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRRangeBase
IXRRangeBase::GetSmallChange