Uredi

CursorConverter Class

Definition

Converts a Cursor object to and from other types.

public ref class CursorConverter : System::ComponentModel::TypeConverter
public class CursorConverter : System.ComponentModel.TypeConverter
type CursorConverter = class
    inherit TypeConverter
Public Class CursorConverter
Inherits TypeConverter
Inheritance
CursorConverter

Remarks

CursorConverter works for two modes: specifying a standard cursor (one of the static constant names of Cursors) or specifying a file name. The named file must be a .cur or .ani file identified by extension. See How to: Change the Cursor Type.

Constructors

Name Description
CursorConverter()

Initializes a new instance of the CursorConverter class.

Methods

Name Description
CanConvertFrom(ITypeDescriptorContext, Type)

Determines whether an object of the specified type can be converted to an instance of Cursor, using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

Determines whether an instance of Cursor can be converted to the specified type, using the specified context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Attempts to convert the specified object to a Cursor, using the specified context.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Attempts to convert a Cursor to the specified type, using the specified context.

GetStandardValues(ITypeDescriptorContext)

Gets a collection of standard cursor values, using the specified context.

GetStandardValuesSupported(ITypeDescriptorContext)

Determines whether this object supports a standard set of values that can be picked from a list, using the specified context.

Applies to