C# Класс ComponentFactory.Krypton.Toolkit.PaletteDrawBordersConverter

Custom type converter so that PaletteDrawBorders values appear as neat text at design time.
Наследование: System.ComponentModel.EnumConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object

Converts the given object to the type of this converter, using the specified context and culture information.

ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object

Converts the given value object to the specified type, using the specified context and culture information.

PaletteDrawBordersConverter ( ) : System

Initialize a new instance of the PaletteDrawBordersConverter clas.

Описание методов

ConvertFrom() публичный Метод

Converts the given object to the type of this converter, using the specified context and culture information.
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext An ITypeDescriptorContext that provides a format context.
culture System The CultureInfo to use as the current culture.
value object The Object to convert.
Результат object

ConvertTo() публичный Метод

Converts the given value object to the specified type, using the specified context and culture information.
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext An ITypeDescriptorContext that provides a format context.
culture System A CultureInfo object. If a null reference the current culture is assumed.
value object The Object to convert.
destinationType System.Type The Type to convert the value parameter to.
Результат object

PaletteDrawBordersConverter() публичный Метод

Initialize a new instance of the PaletteDrawBordersConverter clas.
public PaletteDrawBordersConverter ( ) : System
Результат System