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
- GridViewColumn.cs
- TableLayoutPanelCodeDomSerializer.cs
- COM2EnumConverter.cs
- XmlLangPropertyAttribute.cs
- Interlocked.cs
- ObjectDataSourceSelectingEventArgs.cs
- ExpressionNormalizer.cs
- String.cs
- SocketConnection.cs
- HttpListenerTimeoutManager.cs
- RuleSetBrowserDialog.cs
- DecimalConverter.cs
- FixedLineResult.cs
- FileDialog_Vista.cs
- comcontractssection.cs
- WriteableBitmap.cs
- ScrollEvent.cs
- ObjectItemCachedAssemblyLoader.cs
- WorkflowExecutor.cs
- DesignConnection.cs
- AssemblyInfo.cs
- DefaultValueTypeConverter.cs
- XmlMemberMapping.cs
- LineBreakRecord.cs
- PhysicalFontFamily.cs
- WeakEventTable.cs
- handlecollector.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DataSourceControl.cs
- ListChangedEventArgs.cs
- PersonalizationStateInfo.cs
- SignatureToken.cs
- ExpressionPrinter.cs
- CapacityStreamGeometryContext.cs
- HTTPAPI_VERSION.cs
- WsdlBuildProvider.cs
- DataGridViewLinkCell.cs
- DataSetUtil.cs
- Expr.cs
- DropDownList.cs
- QueueProcessor.cs
- bidPrivateBase.cs
- TcpChannelHelper.cs
- DataStorage.cs
- TextFormatter.cs
- RotateTransform.cs
- PagesSection.cs
- TableParaClient.cs
- DeclarationUpdate.cs
- XPathAncestorQuery.cs
- _SslSessionsCache.cs
- NonClientArea.cs
- EntityContainer.cs
- SchemaMapping.cs
- ExpandButtonVisibilityConverter.cs
- RadioButtonBaseAdapter.cs
- EventMappingSettings.cs
- Symbol.cs
- WebPartCloseVerb.cs
- HandleCollector.cs
- XmlDigitalSignatureProcessor.cs
- MissingSatelliteAssemblyException.cs
- CodeStatement.cs
- ApplicationSecurityInfo.cs
- DeferredTextReference.cs
- Point4D.cs
- HashHelper.cs
- XPathAxisIterator.cs
- SizeConverter.cs
- ProtocolsInstallComponent.cs
- RemotingServices.cs
- FunctionOverloadResolver.cs
- RegexTree.cs
- GeneralTransform3DTo2DTo3D.cs
- HtmlTernaryTree.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- FontStyles.cs
- DataServiceProcessingPipeline.cs
- IntSecurity.cs
- StringSorter.cs
- ByteAnimationBase.cs
- StringReader.cs
- ScriptResourceHandler.cs
- XmlFileEditor.cs
- MobileControl.cs
- PerformanceCountersElement.cs
- NumericExpr.cs
- RelatedPropertyManager.cs
- HtmlProps.cs
- XmlChildEnumerator.cs
- FixedHighlight.cs
- HttpChannelBindingToken.cs
- Int32EqualityComparer.cs
- SpoolingTaskBase.cs
- PreservationFileWriter.cs
- SpeechAudioFormatInfo.cs
- PolicyFactory.cs
- TextRenderer.cs
- UnsafeNativeMethods.cs
- DataGridViewHeaderCell.cs