[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
Public classCancelItemEventArgs<(Of <(<'T>)>)>
Cancelable event argumens carrying item
Public classCancelMessageEventArgs
CancelEventArgs with message witn reason for cancellation
Public classCustomTypeDescriptorAbstractBase
Provides abstract base class for custom type descriptors
Public classCustomTypeDescriptorBase<(Of <(<'T>)>)>
Provides base class for "top-level" custom type descriptors
Public classEnumConverterWithAttributes<(Of <(<'T>)>)>
Implements TypeConverter<(Of <(<'T, TOther>)>)> for enums that uses DisplayNameAttribute applyed on enum items and RestrictAttribute
Public classEnumDefaultValueAttribute
Stores default value of property of enumeration type
Public classExceptionEventArgs
Event arguments carrying Exception
Public classExceptionEventArgs<(Of <(<'T>)>)>
Type-safe implementation of ExceptionEventArgs<(Of <(<'T>)>)>
Public classExpandableObjectConverter<(Of <(<'T>)>)>
Provides base class for type-safe ExpandableObjectConverter with support for interface based conversion as TypeConverter<(Of <(<'T>)>)>
Public classExpandableObjectConverter<(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>)>)>
Public classFieldDisplayNameAttribute
DisplayNameAttribute that can be applied on fields
Public classFileByteConverter
Simple TypeConverter for Byte
Public classHandledException
Spacial kind of exception intended to be thown by application when exception occured during some process and it was reported to user by the process itself, so the place exception is caught should not report it to user again.
Public classHexaConverter
Public classKnownCategoryAttribute
CategoryAttribute which's value is one of known values
Public classLCategoryAttribute
Localizable version of CategoryAttribute. Defines category shown in PropertyGrid.
Public classLDefaultValueAttribute
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.
Public classLDescriptionAttribute
Localizable version of DescriptionAttribute. Defines description shown in PropertyGrid.
Public classLDisplayNameAttribute
Localizable version of DisplayNameAttribute. Defines name shown in PropertyGrid.
Public classMultipleException
Exception throw when multiple exceptions occured
Public classObjectStringConverter
Allows editing Object as String in PropertyGrid
Public classPrefixAttribute
Inform programmer that he should name instances of class market wiht this attribute with names beginning with prefix
Public classPropertyChangingEventArgsEx
Extends PropertyChangingEventArgs by adding the ProposedNewValue property
Public classPropertyChangingEventArgsEx<(Of <(<'TValue>)>)>
Public classReadOnlyObject
Encapsulates any object and makes it read-only
Public classRecoveryExceptionEventArgs
Event arguments to carry exception with possibility to let the consumer to decide to ignore the exception
Public classRecoveryExceptionEventArgs<(Of <(<'T>)>)>
Type-safe implementation of RecoveryExceptionEventArgs<(Of <(<'T>)>)>
Public classRestrictAttribute
Indicates if enum may allow values that are not member of it or not
Public classSettingsInheritDefaultValueAttribute
Public classSettingsInheritDescriptionAttribute
Public classSuppresHandledEventArgs
Provides event arguments for events that supports marking as handled and suppressing of action event may result to.
Public classTypeConverter<(Of <(<'T>)>)>
Represents base class for type-safe TypeConverter's
Protected classTypeConverter<(Of <(<'T>)>)>..::..DAdaptor<(Of <(<'TOther>)>)>
Public classTypeConverter<(Of <(<'T, TOther>)>)>
Fully type-safe TypeConverter
Public classValueContainer<(Of <(<'T>)>)>
Implements changeable singleto with INotifyPropertyChanged support
Public classValuesFromRangeAreValidAttribute
For enumeration this attribute is applied onto indicates which additional values that are not member of enumeration are valid enumeration values
Public classWrapPropertyDescriptor
Wraps a PropertyDescriptor ans another PropertyDescriptor and allows to add attributes to original one.

Interfaces

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

Delegates

Enumerations

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

See Also