RangedValue Class

Defines a value within a minimum and maximum range.

  public class RangedValue : ModelItem, IValueRange, IModelItem, IPropertyObject, IModelItemOwner

Public Instance Constructors

Constructor Description
RangedValue() Initializes a new instance of the RangedValue class.
RangedValue(IModelItemOwner) Initializes a new instance of the RangedValue class.
RangedValue(IModelItemOwner, string) Initializes a new instance of the RangedValue class.

Public Instance Methods

Method Description
NextValue Increases the value by one increment.
PreviousValue Decreases the value by one decrement.

Public Instance Properties

Property Description
HasNextValue Gets a value that indicates whether a call to the NextValue method will succeed.
HasPreviousValue Gets a value that indicates whether a call to the PreviousValue method will succeed.
MaxValue Gets or sets the maximum value of the range.
MinValue Gets or sets the minimum value of the range.
Range Gets the length of the range.
Step Gets or sets the value of the increment or decrement value when the NextValue or PreviousValue methods are called.
Value Gets or sets the current value.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also