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
- NavigationPropertyEmitter.cs
- MarkupWriter.cs
- PointHitTestParameters.cs
- UITypeEditor.cs
- XmlSchemaComplexContentExtension.cs
- StylusCaptureWithinProperty.cs
- GAC.cs
- GlyphTypeface.cs
- SqlParameterizer.cs
- ApplicationServiceHelper.cs
- CaseInsensitiveHashCodeProvider.cs
- Soap12ProtocolReflector.cs
- DependencyProperty.cs
- EpmCustomContentDeSerializer.cs
- PasswordPropertyTextAttribute.cs
- ProcessHost.cs
- MethodBuilderInstantiation.cs
- SiteMap.cs
- BorderSidesEditor.cs
- FileNotFoundException.cs
- RuntimeIdentifierPropertyAttribute.cs
- RotateTransform3D.cs
- DataListItemCollection.cs
- RuntimeEnvironment.cs
- _NestedSingleAsyncResult.cs
- DecimalKeyFrameCollection.cs
- SubpageParaClient.cs
- EditingCommands.cs
- XmlSchemaObject.cs
- BidirectionalDictionary.cs
- ZoneButton.cs
- IconHelper.cs
- RegisteredDisposeScript.cs
- MaxValueConverter.cs
- ThreadStateException.cs
- RefExpr.cs
- SamlAuthenticationStatement.cs
- CodeTryCatchFinallyStatement.cs
- SettingsAttributeDictionary.cs
- ToolStripPanelSelectionGlyph.cs
- LinkUtilities.cs
- ControlCachePolicy.cs
- DesignerAttribute.cs
- ToolStripPanelRow.cs
- XmlReflectionMember.cs
- InstanceLockQueryResult.cs
- DataGridViewEditingControlShowingEventArgs.cs
- HtmlLink.cs
- PackageRelationship.cs
- TableLayoutPanelCellPosition.cs
- ClientProxyGenerator.cs
- ExtensionQuery.cs
- SQLMembershipProvider.cs
- PropertyValueUIItem.cs
- Fonts.cs
- DataTableExtensions.cs
- webbrowsersite.cs
- TreeViewItemAutomationPeer.cs
- QilXmlWriter.cs
- ProfileModule.cs
- CharacterMetrics.cs
- TemplatedWizardStep.cs
- Automation.cs
- InfoCardConstants.cs
- DataMemberAttribute.cs
- SslStreamSecurityElement.cs
- InputReportEventArgs.cs
- XamlWriter.cs
- ActivityTypeDesigner.xaml.cs
- LinqDataSourceView.cs
- SqlBinder.cs
- DataSourceCacheDurationConverter.cs
- UIInitializationException.cs
- StatusBarItemAutomationPeer.cs
- HttpApplicationStateWrapper.cs
- AuthStoreRoleProvider.cs
- MetricEntry.cs
- ResourceManagerWrapper.cs
- TextTreeTextElementNode.cs
- XamlTemplateSerializer.cs
- AssertUtility.cs
- BitmapEffectGroup.cs
- LoadWorkflowAsyncResult.cs
- InfoCardBaseException.cs
- SqlGenerator.cs
- TemplateXamlTreeBuilder.cs
- WorkflowViewStateService.cs
- DebugView.cs
- MasterPageCodeDomTreeGenerator.cs
- SqlCacheDependencyDatabase.cs
- TdsParserSessionPool.cs
- XmlSortKey.cs
- DataSourceProvider.cs
- GlobalizationSection.cs
- TokenBasedSet.cs
- JapaneseCalendar.cs
- DateTimeConverter.cs
- ActivationWorker.cs
- OleDbDataReader.cs
- RegexCharClass.cs