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
- TdsParserStaticMethods.cs
- MultiSelectRootGridEntry.cs
- FunctionCommandText.cs
- BounceEase.cs
- CompilerCollection.cs
- UserControlBuildProvider.cs
- CryptoConfig.cs
- Blend.cs
- VectorCollectionConverter.cs
- Misc.cs
- ListViewInsertEventArgs.cs
- DataBinding.cs
- CodeRemoveEventStatement.cs
- SerializationTrace.cs
- KeyGesture.cs
- InstanceOwner.cs
- SQLDateTimeStorage.cs
- TaskCanceledException.cs
- DrawListViewItemEventArgs.cs
- ListViewTableCell.cs
- ImageMetadata.cs
- BrowserCapabilitiesCompiler.cs
- _ChunkParse.cs
- SolidColorBrush.cs
- ObjectSet.cs
- TreeSet.cs
- RequestQueryProcessor.cs
- DataChangedEventManager.cs
- Filter.cs
- ListenerConnectionModeReader.cs
- FunctionImportMapping.cs
- OdbcConnectionFactory.cs
- QilXmlReader.cs
- RepeaterItemEventArgs.cs
- TextFindEngine.cs
- ThreadInterruptedException.cs
- BackgroundWorker.cs
- ObjectCloneHelper.cs
- BaseConfigurationRecord.cs
- SmtpNtlmAuthenticationModule.cs
- DictionaryContent.cs
- NamedObject.cs
- InputProcessorProfiles.cs
- RecordConverter.cs
- RegistryKey.cs
- WebPartCatalogAddVerb.cs
- FolderLevelBuildProvider.cs
- CodeVariableDeclarationStatement.cs
- WorkflowCompensationBehavior.cs
- SqlMetaData.cs
- RepeaterItemEventArgs.cs
- Misc.cs
- Vector.cs
- VolatileEnlistmentState.cs
- TransactionValidationBehavior.cs
- ErrorHandler.cs
- MarkupWriter.cs
- SecurityMode.cs
- ServiceAppDomainAssociationProvider.cs
- Resources.Designer.cs
- CodeGenerator.cs
- Evidence.cs
- Msec.cs
- EntityDataReader.cs
- MessageQueue.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- DiscoveryRequestHandler.cs
- DocumentsTrace.cs
- ListenerTraceUtility.cs
- EntityDataSourceValidationException.cs
- QueryStatement.cs
- UnsafeNativeMethods.cs
- _CookieModule.cs
- SQLInt16Storage.cs
- GenerateDerivedKeyRequest.cs
- AuthenticationService.cs
- StringKeyFrameCollection.cs
- SubMenuStyleCollectionEditor.cs
- XpsFilter.cs
- _ConnectionGroup.cs
- CompilationUtil.cs
- HtmlInputReset.cs
- TextRangeProviderWrapper.cs
- ImportContext.cs
- SqlDataSourceEnumerator.cs
- BoundsDrawingContextWalker.cs
- AsymmetricKeyExchangeDeformatter.cs
- EasingKeyFrames.cs
- validationstate.cs
- ImmutablePropertyDescriptorGridEntry.cs
- EnvironmentPermission.cs
- DockPanel.cs
- AlignmentXValidation.cs
- XslAstAnalyzer.cs
- TextRange.cs
- CodeTypeDeclarationCollection.cs
- CodeTypeDeclaration.cs
- MailHeaderInfo.cs
- SmiEventSink.cs
- ScopelessEnumAttribute.cs