Rediger

TreeViewImageIndexConverter Class

Definition

Provides a type converter to convert data for an image index to and from one data type to another for use by the TreeView control.

public ref class TreeViewImageIndexConverter : System::Windows::Forms::ImageIndexConverter
public class TreeViewImageIndexConverter : System.Windows.Forms.ImageIndexConverter
type TreeViewImageIndexConverter = class
    inherit ImageIndexConverter
Public Class TreeViewImageIndexConverter
Inherits ImageIndexConverter
Inheritance

Remarks

For more information about type converters, see the TypeConverter base class.

Note

Typically, you do not directly create an instance of a TreeViewImageIndexConverter. Instead, call the GetConverter method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.

Constructors

Name Description
TreeViewImageIndexConverter()

Initializes a new instance of the TreeViewImageIndexConverter class.

Properties

Name Description
IncludeNoneAsStandardValue

Gets a value indicating null is valid in the TypeConverter.StandardValuesCollection collection.

Methods

Name Description
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the specified value object to a 32-bit signed integer object.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the specified object to the specified destination type.

GetStandardValues(ITypeDescriptorContext)

Returns a collection of standard index values for the image list associated with the specified format context.

GetStandardValuesExclusive(ITypeDescriptorContext)

Determines if the list of standard values returned from the GetStandardValues method is an exclusive list.

(Inherited from ImageIndexConverter)
GetStandardValuesSupported(ITypeDescriptorContext)

Determines if the type converter supports a standard set of values that can be picked from a list.

(Inherited from ImageIndexConverter)

Applies to

See also