[This is preliminary documentation and is subject to change.]

The Tools.ComponentModelT namespace provides classes that are used to implement the run-time and design-time behavior of components and controls. This namespace includes the base classes and interfaces for implementing attributes and type converters, binding to data sources, and licensing components.

Classes

  ClassDescription
CancelItemEventArgs<(Of <(T>)>)
Cancelable event argumens carrying item
CancelMessageEventArgs
CancelEventArgs with message witn reason for cancellation
CustomTypeDescriptorAbstractBase
Provides abstract base class for custom type descriptors
CustomTypeDescriptorBase<(Of <(T>)>)
Provides base class for "top-level" custom type descriptors
EnumConverterWithAttributes<(Of <(T>)>)
Implements TypeConverter<(Of <(T>)>) for enums that uses DisplayNameAttribute applyed on enum items and RestrictAttribute
EnumDefaultValueAttribute
Stores default value of property of enumeration type
ExceptionEventArgs
Event arguments carrying Exception
ExceptionEventArgs<(Of <(T>)>)
Type-safe implementation of ExceptionEventArgs
ExpandableObjectConverter<(Of <(T>)>)
Provides base class for type-safe ExpandableObjectConverter with support for interface based conversion as TypeConverter<(Of <(T>)>)
ExpandableObjectConverter<(Of <(T, TOther>)>)
Provides base class for type-safe ExpandableObjectConverter with direct support for conversion to/from one type as TypeConverter<(Of <(T, TOther>)>) and interface-based type-safe converters implementation as TypeConverter<(Of <(T>)>)
FieldDisplayNameAttribute
DisplayNameAttribute that can be applied on fields
FileByteConverter
Simple TypeConverter for Byte
HexaConverter
KnownCategoryAttribute
CategoryAttribute which's value is one of known values
LCategoryAttribute
Localizable version of CategoryAttribute. Defines category shown in PropertyGrid.
LDefaultValueAttribute
Localizable version of DefaultValueAttribute. Defines default value of property. Used by PropertyGrid to visually indicate user that value was changed and by Windows Forms Designer to determine if property should be serialized or not.
LDescriptionAttribute
Localizable version of DescriptionAttribute. Defines description shown in PropertyGrid.
LDisplayNameAttribute
Localizable version of DisplayNameAttribute. Defines name shown in PropertyGrid.
MultipleException
Exception throw when multiple exceptions occured
ObjectStringConverter
Allows editing Object as String in PropertyGrid
PrefixAttribute
Inform programmer that he should name instances of class market wiht this attribute with names beginning with prefix
ReadOnlyObject
Encapsulates any object and makes it read-only
RecoveryExceptionEventArgs
Event arguments to carry exception with possibility to let the consumer to decide to ignore the exception
RecoveryExceptionEventArgs<(Of <(T>)>)
Type-safe implementation of RecoveryExceptionEventArgs
RestrictAttribute
Indicates if enum may allow values that are not member of it or not
SettingsInheritDefaultValueAttribute
SettingsInheritDescriptionAttribute
SuppresHandledEventArgs
Provides event arguments for events that supports marking as handled and suppressing of action event may result to.
TypeConverter<(Of <(T>)>)
Represents base class for type-safe TypeConverter's
TypeConverter<(Of <(T>)>)..::.DAdaptor<(Of <(TOther>)>)
TypeConverter<(Of <(T, TOther>)>)
Fully type-safe TypeConverter
ValuesFromRangeAreValidAttribute
For enumeration this attribute is applied onto indicates which additional values that are not member of enumeration are valid enumeration values

Interfaces

  InterfaceDescription
TypeConverter<(Of <(T>)>)..::.ITypeConverter<(Of <(TOther>)>)
Interface for type-safe TypeConverters (read-write conversion)
TypeConverter<(Of <(T>)>)..::.ITypeConverterFrom<(Of <(TOther>)>)
Interface for type-safe TypeConverters (read-only conversion)
TypeConverter<(Of <(T>)>)..::.ITypeConverterTo<(Of <(TOther>)>)
Interface for type-safe TypeConverters (write-only conversion)
TypeConverter<(Of <(T>)>)..::.ITypeConverterWithValidation<(Of <(TOther>)>)
Interface for type-safe TypeConverters (read-write conversion with validation)

Delegates

Enumerations

  EnumerationDescription
KnownCategoryAttribute..::.AnotherCategories
Defines more categories commonly used by CategoryAttribute, but not predefined by the .NET framework as shared properties of the CategoryAttribute
KnownCategoryAttribute..::.KnownCategories
Represents shared (static) properties of CategoryAttribute
LCategoryAttribute..::.enmLookUpOrder
Possible orders of source of localized string

See Also