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
- PerformanceCounterPermissionEntry.cs
- DbCommandTree.cs
- GridViewSortEventArgs.cs
- AssemblyBuilder.cs
- FontWeights.cs
- RootDesignerSerializerAttribute.cs
- MethodRental.cs
- ProgressiveCrcCalculatingStream.cs
- WebException.cs
- InvokeWebServiceDesigner.cs
- RadioButtonPopupAdapter.cs
- TemplateNameScope.cs
- DataControlFieldCollection.cs
- CommandConverter.cs
- DropShadowBitmapEffect.cs
- SoapAttributeAttribute.cs
- ImageDrawing.cs
- SapiRecoContext.cs
- DataBinding.cs
- GridViewUpdatedEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- TextEditorCharacters.cs
- PasswordBox.cs
- TreeViewItem.cs
- Misc.cs
- AlgoModule.cs
- Vector3DKeyFrameCollection.cs
- PenContext.cs
- ContentElement.cs
- XmlDataLoader.cs
- ParserOptions.cs
- TypeInitializationException.cs
- MethodAccessException.cs
- InputLanguageEventArgs.cs
- ArrangedElement.cs
- TemplateKey.cs
- PrimitiveOperationFormatter.cs
- SecurityPolicyVersion.cs
- DataGrid.cs
- PasswordBoxAutomationPeer.cs
- KerberosRequestorSecurityToken.cs
- TimersDescriptionAttribute.cs
- WindowsScrollBar.cs
- LongTypeConverter.cs
- xamlnodes.cs
- DropDownList.cs
- PropertyConverter.cs
- SqlCommandSet.cs
- CheckBoxRenderer.cs
- RawAppCommandInputReport.cs
- UserControlParser.cs
- TypeProvider.cs
- X509SecurityTokenProvider.cs
- Debug.cs
- PageThemeParser.cs
- WebServicesDescriptionAttribute.cs
- ToolStripPanel.cs
- CompModSwitches.cs
- BindingList.cs
- ExpressionCopier.cs
- AssemblyLoader.cs
- BindingOperations.cs
- DSACryptoServiceProvider.cs
- StrongNameIdentityPermission.cs
- TableRowsCollectionEditor.cs
- BitmapEffectRenderDataResource.cs
- IPCCacheManager.cs
- Decorator.cs
- DbBuffer.cs
- CultureMapper.cs
- MenuDesigner.cs
- HttpProfileBase.cs
- NavigationProgressEventArgs.cs
- ContravarianceAdapter.cs
- SafeNativeMethods.cs
- BmpBitmapEncoder.cs
- DrawingImage.cs
- AuthenticationService.cs
- FormViewRow.cs
- UrlMappingsSection.cs
- ExceptionUtility.cs
- CodeLabeledStatement.cs
- BitmapEffectRenderDataResource.cs
- DiscoveryClientDocuments.cs
- ProtocolElementCollection.cs
- UITypeEditor.cs
- OrElse.cs
- IERequestCache.cs
- RepeaterCommandEventArgs.cs
- SoapFault.cs
- SqlUdtInfo.cs
- NetCodeGroup.cs
- DbProviderFactories.cs
- FixedSOMPageConstructor.cs
- CopyAttributesAction.cs
- WSFederationHttpSecurityMode.cs
- SmtpCommands.cs
- MappingException.cs
- FormatException.cs
- WorkflowServiceAttributesTypeConverter.cs