System.ComponentModel namespaces for UWP apps

System.ComponentModel namespaces for UWP apps

 

System.ComponentModel, System.ComponentModel.DataAnnotations, and System.ComponentModel.DataAnnotations.Schema contain types that implement the run-time and design-time behavior of components and controls.

This topic displays the types in the System.ComponentModel namespaces that are included in .NET for UWP apps. Note that .NET for UWP apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in .NET for UWP apps.

Types supported in .NET for UWP apps

Description

ArrayConverter

Provides a type converter to convert Array objects to and from various other representations.

AsyncCompletedEventArgs

Provides data for the MethodNameCompleted event.

AsyncCompletedEventHandler

Represents the method that will handle the MethodNameCompleted event of an asynchronous operation.

AsyncOperation

Tracks the lifetime of an asynchronous operation.

AsyncOperationManager

Provides concurrency management for classes that support asynchronous method calls. This class cannot be inherited.

BackgroundWorker

Executes an operation on a separate thread.

BaseNumberConverter

Provides a base type converter for nonfloating-point numerical types.

BooleanConverter

Provides a type converter to convert Boolean objects to and from various other representations.

ByteConverter

Provides a type converter to convert 8-bit unsigned integer objects to and from various other representations.

CancelEventArgs

Provides data for a cancelable event.

CharConverter

Provides a type converter to convert Unicode character objects to and from various other representations.

CollectionConverter

Provides a type converter to convert collection objects to and from various other representations.

ComponentCollection

Provides a read-only container for a collection of IComponent objects.

DataErrorsChangedEventArgs

Provides data for the INotifyDataErrorInfo.ErrorsChanged event.

DateTimeConverter

Provides a type converter to convert DateTime objects to and from various other representations.

DateTimeOffsetConverter

Provides a type converter to convert DateTimeOffset structures to and from various other representations.

DecimalConverter

Provides a type converter to convert Decimal objects to and from various other representations.

DefaultValueAttribute

Specifies the default value for a property.

DoubleConverter

Provides a type converter to convert double-precision; floating point number objects to and from various other representations.

DoWorkEventArgs

Provides data for the DoWork event handler.

DoWorkEventHandler

Represents the method that will handle the DoWork event. This class cannot be inherited.

EditorBrowsableAttribute

Specifies that a property or method is viewable in an editor. This class cannot be inherited.

EditorBrowsableState

Specifies the browsable state of a property or method from within an editor.

EnumConverter

Provides a type converter to convert Enum objects to and from various other representations.

GuidConverter

Provides a type converter to convert Guid objects to and from various other representations.

IChangeTracking

Defines the mechanism for querying the object for changes and resetting of the changed status.

IComponent

Provides functionality required by all components.

IContainer

Provides functionality for containers. Containers are objects that logically contain zero or more components.

IEditableObject

Provides functionality to commit or roll back changes to an object that is used as a data source.

INotifyDataErrorInfo

Defines members that data entity classes can implement to provide custom synchronous and asynchronous validation support.

INotifyPropertyChanged

Notifies clients that a property value has changed.

INotifyPropertyChanging

Notifies clients that a property value is changing.

Int16Converter

Provides a type converter to convert 16-bit signed integer objects to and from other representations.

Int32Converter

Provides a type converter to convert 32-bit signed integer objects to and from other representations.

Int64Converter

Provides a type converter to convert 64-bit signed integer objects to and from various other representations.

IRevertibleChangeTracking

Provides support for rolling back the changes

ISite

Provides functionality required by sites.

ITypeDescriptorContext

Provides contextual information about a component; such as its container and property descriptor.

MultilineStringConverter

Provides a type converter to convert multiline strings to a simple string.

NullableConverter

Provides automatic conversion between a nullable type and its underlying primitive type.

ProgressChangedEventArgs

Provides data for the ProgressChanged event.

ProgressChangedEventHandler

Represents the method that will handle the ProgressChanged event of the BackgroundWorker class. This class cannot be inherited.

PropertyChangedEventArgs

Provides data for the PropertyChanged event.

PropertyChangedEventHandler

Represents the method that will handle the PropertyChanged event raised when a property is changed on a component.

PropertyChangingEventArgs

Provides data for the PropertyChanging event.

PropertyChangingEventHandler

Represents the method that will handle the PropertyChanging event of an INotifyPropertyChanging interface.

PropertyDescriptor

Provides an abstraction of a property on a class.

RunWorkerCompletedEventArgs

Provides data for the MethodNameCompleted event.

RunWorkerCompletedEventHandler

Represents the method that will handle the RunWorkerCompleted event of a BackgroundWorker class.

SByteConverter

Provides a type converter to convert 8-bit unsigned integer objects to and from a string.

SingleConverter

Provides a type converter to convert single-precision; floating point number objects to and from various other representations.

StringConverter

Provides a type converter to convert string objects to and from other representations.

TimeSpanConverter

Provides a type converter to convert TimeSpan objects to and from other representations.

TypeConverter

Provides a unified way of converting types of values to other types; as well as for accessing standard values and subproperties.

TypeConverterAttribute

Specifies what type to use as a converter for the object this attribute is bound to.

TypeDescriptor

Provides information about the characteristics for a component; such as its attributes; properties; and events. This class cannot be inherited.

TypeListConverter

Provides a type converter that can be used to populate a list box with available types.

UInt16Converter

Provides a type converter to convert 16-bit unsigned integer objects to and from other representations.

UInt32Converter

Provides a type converter to convert 32-bit unsigned integer objects to and from various other representations.

UInt64Converter

Provides a type converter to convert 64-bit unsigned integer objects to and from other representations.

Win32Exception

Throws an exception for a Win32 error code.

Types supported in the .NET for UWP apps

Description

AssociationAttribute

Specifies that an entity member represents a data relationship, such as a foreign key relationship.

CompareAttribute

Provides an attribute that compares two properties.

ConcurrencyCheckAttribute

Specifies that a property participates in optimistic concurrency checks.

CreditCardAttribute

Specifies that a data field value is a credit card number.

CustomValidationAttribute

Specifies a custom validation method that is used to validate a property or class instance.

DataType

Represents an enumeration of the data types associated with data fields and parameters.

DataTypeAttribute

Specifies the name of an additional type to associate with a data field.

DisplayAttribute

Provides a general-purpose attribute that lets you specify localizable strings for types and members of entity partial classes.

DisplayColumnAttribute

Specifies the column that is displayed in the referred table as a foreign-key column.

DisplayFormatAttribute

Specifies how data fields are displayed and formatted.

EditableAttribute

Indicates whether a data field is editable.

EmailAddressAttribute

Validates an email address.

EnumDataTypeAttribute

Enables a .NET Framework enumeration to be mapped to a data column.

FileExtensionsAttribute

Validates file name extensions.

FilterUIHintAttribute

Represents an attribute that is used to specify the filtering behavior for a column.

IValidatableObject

Provides a way for an object to be invalidated.

KeyAttribute

Denotes one or more properties that uniquely identify an entity.

MaxLengthAttribute

Specifies the maximum length of array or string data allowed in a property.

MinLengthAttribute

Specifies the minimum length of array or string data allowed in a property.

PhoneAttribute

Specifies that a data field value is a well-formed phone number using a regular expression for phone numbers.

RangeAttribute

Specifies the numeric range constraints for the value of a data field.

RegularExpressionAttribute

Specifies that a data field value must match the specified regular expression.

RequiredAttribute

Specifies that a data field value is required.

ScaffoldColumnAttribute

Specifies whether a class or data column uses scaffolding.

StringLengthAttribute

Specifies the minimum and maximum length of characters that are allowed in a data field.

TimestampAttribute

Specifies the data type of the column as a row version.

UIHintAttribute

Specifies the template or user control used to display a data field.

UrlAttribute

Provides URL validation.

ValidationAttribute

Serves as the base class for all validation attributes.

ValidationContext

Describes the context in which a validation check is performed.

ValidationException

Represents the exception that occurs during validation of a data field when the ValidationAttribute class is used.

ValidationResult

Represents a container for the results of a validation request.

Validator

Defines a helper class that can be used to validate objects, properties, and methods when it is included in their associated ValidationAttribute attributes.

Types supported in the .NET for UWP apps

ColumnAttribute

Represents the database column that a property is mapped to.

ComplexTypeAttribute

Denotes that the class is a complex type. Complex types are non-scalar properties of entity types that enable scalar properties to be organized within entities. Complex types do not have keys and cannot be managed by the Entity Framework apart from the parent object.

DatabaseGeneratedAttribute

Represents a database generated attribute.

DatabaseGeneratedOption

Enumerates a database generated options.

ForeignKeyAttribute

Denotes a property used as a foreign key in a relationship. The annotation may be placed on the foreign key property and specify the associated navigation property name; or placed on a navigation property and specify the associated foreign key name.

InversePropertyAttribute

Specifies the inverse of a navigation property that represents the other end of the same relationship.

NotMappedAttribute

Denotes that a property or class should be excluded from database mapping.

TableAttribute

Specifies the database table that a class is mapped to.

Show:
© 2017 Microsoft