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
- ComboBoxItem.cs
- Char.cs
- EdmConstants.cs
- WebPartAddingEventArgs.cs
- uribuilder.cs
- TextServicesContext.cs
- NameValuePair.cs
- CounterSampleCalculator.cs
- HiddenFieldPageStatePersister.cs
- StreamingContext.cs
- TileBrush.cs
- AssemblyHash.cs
- DelegatingTypeDescriptionProvider.cs
- ControlAdapter.cs
- XDeferredAxisSource.cs
- CodeParameterDeclarationExpression.cs
- BuildManagerHost.cs
- BamlTreeUpdater.cs
- SafeNativeMethodsMilCoreApi.cs
- BasicExpandProvider.cs
- StringSource.cs
- TargetInvocationException.cs
- WebPartZone.cs
- StructureChangedEventArgs.cs
- FullTrustAssembliesSection.cs
- SignatureToken.cs
- ListBase.cs
- DataGridRow.cs
- WebServicesInteroperability.cs
- relpropertyhelper.cs
- ObjectListShowCommandsEventArgs.cs
- ClientTargetSection.cs
- CryptoApi.cs
- CompoundFileIOPermission.cs
- InplaceBitmapMetadataWriter.cs
- WebColorConverter.cs
- SpellerInterop.cs
- DefaultParameterValueAttribute.cs
- QilCloneVisitor.cs
- BasicKeyConstraint.cs
- ConfigurationSchemaErrors.cs
- DataSourceCache.cs
- RowBinding.cs
- mda.cs
- InheritanceContextHelper.cs
- VBIdentifierNameEditor.cs
- SizeAnimationBase.cs
- ConditionValidator.cs
- D3DImage.cs
- SchemaComplexType.cs
- ActivityBindForm.cs
- BoolExpr.cs
- TriggerBase.cs
- CodeCommentStatementCollection.cs
- PlainXmlSerializer.cs
- XamlInt32CollectionSerializer.cs
- DllNotFoundException.cs
- SchemaMerger.cs
- iisPickupDirectory.cs
- FileDialogCustomPlace.cs
- NavigationWindowAutomationPeer.cs
- PhysicalFontFamily.cs
- WebPartConnectVerb.cs
- ChooseAction.cs
- ExpressionParser.cs
- ValidatorUtils.cs
- AuthStoreRoleProvider.cs
- TextTreeUndoUnit.cs
- LastQueryOperator.cs
- X500Name.cs
- LayoutSettings.cs
- BinaryConverter.cs
- WindowsStartMenu.cs
- Assert.cs
- InvalidateEvent.cs
- OrderingInfo.cs
- MobileFormsAuthentication.cs
- CriticalFinalizerObject.cs
- AssemblyInfo.cs
- LiteralLink.cs
- XPathException.cs
- DefaultPropertyAttribute.cs
- LabelTarget.cs
- ComEventsInfo.cs
- ByteRangeDownloader.cs
- RTTrackingProfile.cs
- VersionedStream.cs
- ListMarkerSourceInfo.cs
- IdnMapping.cs
- XmlQuerySequence.cs
- ClientRolePrincipal.cs
- BezierSegment.cs
- HwndSourceKeyboardInputSite.cs
- RSAProtectedConfigurationProvider.cs
- XmlNode.cs
- Partitioner.cs
- StateBag.cs
- ToolStripLocationCancelEventArgs.cs
- DrawingBrush.cs
- FormatterServices.cs