System.Windows.Forms.SelectionRangeConverter Class

Provides a type converter to convert System.Windows.Forms.SelectionRange objects to and from various other types.

See Also: SelectionRangeConverter Members

Syntax

public class SelectionRangeConverter : System.ComponentModel.TypeConverter

Remarks

The System.Windows.Forms.SelectionRange class represents a single date or a range of dates. This class is commonly associated with the System.Windows.Forms.MonthCalendar control, where it represents the selected and highlighted dates. The System.Windows.Forms.SelectionRangeConverter class is an adjunct class to System.Windows.Forms.SelectionRange that enables you to convert to and from other types, most often strings.

For more information about type converters, see the System.ComponentModel.TypeConverter base class, Generalized Type Conversion, and How to: Implement a Type Converter.

Note:

You should never create a System.Windows.Forms.SelectionRangeConverter. Instead, call the System.ComponentModel.TypeDescriptor.GetConverter(object) method of the System.ComponentModel.TypeDescriptor class. For more information, see the examples in the System.ComponentModel.TypeConverter base class.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0