Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / MS / Internal / Controls / ValidationRuleCollection.cs / 1 / 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 [....]/connecteddata/Specs/Validation.mht // // History: // 5/3/2004 [....]: 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
- PersistenceTypeAttribute.cs
- LicenseProviderAttribute.cs
- BasePropertyDescriptor.cs
- StandardBindingImporter.cs
- __Error.cs
- CommonRemoteMemoryBlock.cs
- ILGenerator.cs
- FixedTextContainer.cs
- ExecutionContext.cs
- DiagnosticTraceRecords.cs
- Version.cs
- TextDecorations.cs
- parserscommon.cs
- Preprocessor.cs
- SqlWebEventProvider.cs
- Perspective.cs
- KeyValuePair.cs
- HijriCalendar.cs
- ThousandthOfEmRealPoints.cs
- HttpListener.cs
- BaseAsyncResult.cs
- NetTcpBindingElement.cs
- AlignmentYValidation.cs
- TextServicesCompartmentEventSink.cs
- RuntimeVariablesExpression.cs
- ConnectionManagementElement.cs
- MemberRestriction.cs
- TextFindEngine.cs
- PingReply.cs
- AssemblyFilter.cs
- smtpconnection.cs
- RawStylusInputReport.cs
- EventMemberCodeDomSerializer.cs
- NativeCompoundFileAPIs.cs
- IdentifierService.cs
- PhonemeEventArgs.cs
- LayoutSettings.cs
- TableCell.cs
- StringToken.cs
- BackgroundFormatInfo.cs
- WorkflowEnvironment.cs
- CodeSnippetCompileUnit.cs
- __Filters.cs
- WorkflowElementDialogWindow.xaml.cs
- MimeBasePart.cs
- ValueOfAction.cs
- Quad.cs
- SendActivityValidator.cs
- TrackBar.cs
- HttpStreams.cs
- WebConfigManager.cs
- AtlasWeb.Designer.cs
- DrawListViewItemEventArgs.cs
- StrongName.cs
- RotateTransform.cs
- Context.cs
- StaticContext.cs
- CacheEntry.cs
- Missing.cs
- TabPanel.cs
- ItemCollectionEditor.cs
- TemplateBindingExtension.cs
- Walker.cs
- RectAnimationBase.cs
- FormsAuthenticationUser.cs
- PatternMatcher.cs
- Executor.cs
- TableHeaderCell.cs
- CodeSubDirectoriesCollection.cs
- FixedBufferAttribute.cs
- GeometryModel3D.cs
- EnumBuilder.cs
- MinMaxParagraphWidth.cs
- PreservationFileWriter.cs
- WindowShowOrOpenTracker.cs
- MailWriter.cs
- SiteMapNode.cs
- PieceNameHelper.cs
- PerformanceCountersElement.cs
- CommonObjectSecurity.cs
- _CacheStreams.cs
- Translator.cs
- Path.cs
- WindowProviderWrapper.cs
- AsyncContentLoadedEventArgs.cs
- OleDbDataAdapter.cs
- DataGridViewCell.cs
- securitycriticaldata.cs
- DataContract.cs
- NetworkInterface.cs
- Helpers.cs
- RelationshipEndCollection.cs
- NgenServicingAttributes.cs
- OdbcStatementHandle.cs
- graph.cs
- EventMappingSettings.cs
- DoubleAnimation.cs
- BindingExpressionUncommonField.cs
- ProcessModule.cs
- ReversePositionQuery.cs