แก้ไข

แชร์ผ่าน


IRangeValueProvider.SmallChange Property

Definition

Gets the value that is added to or subtracted from the Value property when a small change is made, such as with an arrow key.

public:
 property double SmallChange { double get(); };
public double SmallChange { get; }
member this.SmallChange : double
Public ReadOnly Property SmallChange As Double

Property Value

The small-change value or null (Nothing in Visual Basic) if the control does not support SmallChange.

Examples

The following example shows an implementation of this method for a control that has a small change value of 1.0.

/// <summary>
/// Specifies the small change value.
/// </summary>
public double SmallChange
{
    get 
    { 
        return 1.0; 
    }
}
''' <summary>
''' Specifies the small change value.
''' </summary>
Public ReadOnly Property SmallChange() As Double Implements IRangeValueProvider.SmallChange
    Get
        Return 1.0
    End Get
End Property

Applies to

See also