System.ComponentModel namespaces

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 the .NET for Windows Store apps. Note that the .NET for Windows Store 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 the .NET for Windows Store apps.

Types supported in the .NET for Windows Store apps

Description

AsyncCompletedEventArgs

Provides data for the MethodNameCompleted event.

AsyncCompletedEventHandler

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

CancelEventArgs

Provides data for a cancelable event.

DataErrorsChangedEventArgs

Provides data for the INotifyDataErrorInfo.ErrorsChanged event.

DefaultValueAttribute

Specifies the default value for a property.

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.

IChangeTracking

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

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.

IRevertibleChangeTracking

Provides support for rolling back the changes

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.

Types supported in the .NET for Windows Store apps

Description

AssociationAttribute

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

ConcurrencyCheckAttribute

Specifies that a property participates in optimistic concurrency checks.

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.

EnumDataTypeAttribute

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

FilterUIHintAttribute

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

KeyAttribute

Denotes one or more properties that uniquely identify an entity.

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.

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.

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 Windows Store apps

DatabaseGeneratedAttribute

Represents a database generated attribute.

DatabaseGeneratedOption

Enumerates a database generated options.

Show:
© 2014 Microsoft