Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / Controls / ValidationErrorCollection.cs / 1305600 / ValidationErrorCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // // // // Description: // ValidationErrorCollection contains the list of ValidationErrors from // the various Bindings and MultiBindings on an Element. ValidationErrorCollection // be set through the Validation.ErrorsProperty. // // See specs at http://avalon/connecteddata/Specs/Validation.mht // // History: // 5/3/2004 mharper: created. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Data; namespace MS.Internal.Controls { ////// ValidationErrorCollection contains the list of ValidationErrors from /// the various Bindings and MultiBindings on an Element. ValidationErrorCollection /// be set through the Validation.ErrorsProperty. /// internal class ValidationErrorCollection : ObservableCollection{ /// /// Empty collection that serves as a default value for /// Validation.ErrorsProperty. /// public static readonly ReadOnlyObservableCollectionEmpty = new ReadOnlyObservableCollection (new ValidationErrorCollection()); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // // Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // // // // Description: // ValidationErrorCollection contains the list of ValidationErrors from // the various Bindings and MultiBindings on an Element. ValidationErrorCollection // be set through the Validation.ErrorsProperty. // // See specs at http://avalon/connecteddata/Specs/Validation.mht // // History: // 5/3/2004 mharper: created. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Data; namespace MS.Internal.Controls { ////// ValidationErrorCollection contains the list of ValidationErrors from /// the various Bindings and MultiBindings on an Element. ValidationErrorCollection /// be set through the Validation.ErrorsProperty. /// internal class ValidationErrorCollection : ObservableCollection{ /// /// Empty collection that serves as a default value for /// Validation.ErrorsProperty. /// public static readonly ReadOnlyObservableCollectionEmpty = new ReadOnlyObservableCollection (new ValidationErrorCollection()); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RoleService.cs
- Translator.cs
- UidPropertyAttribute.cs
- GeneralTransform.cs
- EdmTypeAttribute.cs
- CmsInterop.cs
- XmlUtil.cs
- SynchronizedInputPattern.cs
- DataTableMappingCollection.cs
- ProfileProvider.cs
- AppDomainUnloadedException.cs
- TabControlEvent.cs
- AsymmetricSignatureFormatter.cs
- AddInServer.cs
- DispatcherTimer.cs
- Normalizer.cs
- XamlDesignerSerializationManager.cs
- XmlAttributeCache.cs
- ConfigurationSchemaErrors.cs
- CodeRegionDirective.cs
- RuntimeConfigLKG.cs
- LinkedResource.cs
- COM2ExtendedBrowsingHandler.cs
- Button.cs
- SynchronizingStream.cs
- Stack.cs
- FontStretches.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- ImageButton.cs
- QilIterator.cs
- RegexTree.cs
- Operator.cs
- ValueTypeFixupInfo.cs
- XPathConvert.cs
- BindingSourceDesigner.cs
- QueryOperationResponseOfT.cs
- WebContext.cs
- InvokeHandlers.cs
- ErrorWrapper.cs
- Block.cs
- Configuration.cs
- OdbcError.cs
- Buffer.cs
- ResXResourceWriter.cs
- StructuredTypeEmitter.cs
- HtmlInputReset.cs
- ConversionContext.cs
- DrawToolTipEventArgs.cs
- XmlQueryType.cs
- _FtpDataStream.cs
- ContentOperations.cs
- LexicalChunk.cs
- EventBuilder.cs
- BrowserCapabilitiesCodeGenerator.cs
- XmlQueryCardinality.cs
- PlacementWorkspace.cs
- DataListItemEventArgs.cs
- ScrollableControl.cs
- ImageIndexConverter.cs
- ExpressionBuilder.cs
- QueryContinueDragEvent.cs
- ServiceDescriptionReflector.cs
- FileAuthorizationModule.cs
- ProgressBarRenderer.cs
- webclient.cs
- ProcessHostConfigUtils.cs
- WebPartUtil.cs
- DesignerActionList.cs
- ZipIOExtraFieldZip64Element.cs
- AsyncDataRequest.cs
- CellParaClient.cs
- PreservationFileWriter.cs
- FixedSOMTableCell.cs
- DataServiceExpressionVisitor.cs
- PointValueSerializer.cs
- TreeViewItem.cs
- FixedSchema.cs
- PrintPreviewDialog.cs
- UTF32Encoding.cs
- EventItfInfo.cs
- UnsafeNativeMethods.cs
- SoundPlayer.cs
- PocoPropertyAccessorStrategy.cs
- DrawingCollection.cs
- DataTablePropertyDescriptor.cs
- PropertyChangedEventManager.cs
- ViewDesigner.cs
- PolicyReader.cs
- QuaternionConverter.cs
- TextOnlyOutput.cs
- FileChangesMonitor.cs
- SqlAliaser.cs
- AncillaryOps.cs
- TypeExtensionSerializer.cs
- PhysicalFontFamily.cs
- MulticastOption.cs
- FastPropertyAccessor.cs
- OciLobLocator.cs
- SwitchLevelAttribute.cs
- AccessedThroughPropertyAttribute.cs