Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / Controls / ValidationRuleCollection.cs / 1305600 / ValidationRuleCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // // // // Description: // ValidationRulesCollection is a collection of ValidationRule // instances on either a Binding or a MultiBinding. Each of the rules // is checked for validity on update // // See specs at http://avalon/connecteddata/Specs/Validation.mht // // History: // 5/3/2004 mharper: created. // //--------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Controls; namespace MS.Internal.Controls { ////// ValidationRulesCollection is a collection of ValidationRule /// instances on either a Binding or a MultiBinding. Each of the rules /// is checked for validity on update /// internal class ValidationRuleCollection : Collection{ //----------------------------------------------------- // // Protected Methods // //----------------------------------------------------- #region Protected Methods /// /// called by base class Collection<T> when an item is added to list; /// raises a CollectionChanged event to any listeners /// protected override void InsertItem(int index, ValidationRule item) { if (item == null) throw new ArgumentNullException("item"); base.InsertItem(index, item); } ////// called by base class Collection<T> when an item is added to list; /// raises a CollectionChanged event to any listeners /// protected override void SetItem(int index, ValidationRule item) { if (item == null) throw new ArgumentNullException("item"); base.SetItem(index, item); } #endregion Protected Methods } } // 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
- _AutoWebProxyScriptHelper.cs
- InternalBufferOverflowException.cs
- SymmetricAlgorithm.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- CommonRemoteMemoryBlock.cs
- DiscriminatorMap.cs
- ContextDataSourceView.cs
- PersonalizationStateInfo.cs
- NamespaceEmitter.cs
- PriorityRange.cs
- GridPatternIdentifiers.cs
- OpacityConverter.cs
- EventSinkHelperWriter.cs
- WorkItem.cs
- DispatcherExceptionFilterEventArgs.cs
- SQLInt32.cs
- DataSysAttribute.cs
- CompilationLock.cs
- EventMappingSettingsCollection.cs
- GraphicsContext.cs
- AssociatedControlConverter.cs
- Scripts.cs
- Highlights.cs
- ConfigXmlWhitespace.cs
- NotifyInputEventArgs.cs
- XmlSchemaAppInfo.cs
- CustomCategoryAttribute.cs
- FileDialog.cs
- WindowAutomationPeer.cs
- WinInet.cs
- ResourceSet.cs
- ColumnMapCopier.cs
- MenuAdapter.cs
- DllNotFoundException.cs
- Compiler.cs
- FreezableOperations.cs
- GeneralTransform3D.cs
- AnnotationService.cs
- InstanceKeyCompleteException.cs
- cookieexception.cs
- EntityDataReader.cs
- DesignerActionUIStateChangeEventArgs.cs
- HttpModulesInstallComponent.cs
- HtmlInputFile.cs
- InputBuffer.cs
- ContentPresenter.cs
- WebControlsSection.cs
- DataSvcMapFile.cs
- ProvideValueServiceProvider.cs
- SqlDataSourceQueryEditorForm.cs
- RecognizeCompletedEventArgs.cs
- Selection.cs
- GroupQuery.cs
- MethodRental.cs
- Sentence.cs
- InternalBase.cs
- ChangeProcessor.cs
- BuildProviderAppliesToAttribute.cs
- PersonalizationState.cs
- WebPartHeaderCloseVerb.cs
- _HeaderInfo.cs
- Matrix.cs
- DoubleKeyFrameCollection.cs
- SQLInt64Storage.cs
- ValueProviderWrapper.cs
- WorkflowTransactionOptions.cs
- DebugViewWriter.cs
- PolicyValidationException.cs
- NavigationHelper.cs
- FrameworkObject.cs
- TreeView.cs
- UserNamePasswordValidator.cs
- HttpResponseInternalWrapper.cs
- PasswordTextContainer.cs
- XmlMapping.cs
- InlineUIContainer.cs
- WindowsBrush.cs
- RequestCachePolicyConverter.cs
- CompositeActivityMarkupSerializer.cs
- hebrewshape.cs
- TextEndOfParagraph.cs
- DotExpr.cs
- AxHost.cs
- BackgroundWorker.cs
- PropertyTabChangedEvent.cs
- DrawingGroup.cs
- ComponentResourceManager.cs
- UnsettableComboBox.cs
- EventMappingSettingsCollection.cs
- Int64AnimationBase.cs
- MarshalByValueComponent.cs
- FixedTextPointer.cs
- ScaleTransform3D.cs
- ContentElement.cs
- AutomationElementCollection.cs
- XhtmlBasicLiteralTextAdapter.cs
- storepermission.cs
- RegexStringValidatorAttribute.cs
- MenuItemAutomationPeer.cs
- TabItemAutomationPeer.cs