Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / ListViewUpdateEventArgs.cs / 1305376 / ListViewUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { public class ListViewUpdateEventArgs : CancelEventArgs { private int _itemIndex; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; public ListViewUpdateEventArgs(int itemIndex) { _itemIndex = itemIndex; } ////// public int ItemIndex { get { return _itemIndex; } } ///Gets the int argument to the command posted to the ///. This property is read-only. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { public class ListViewUpdateEventArgs : CancelEventArgs { private int _itemIndex; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; public ListViewUpdateEventArgs(int itemIndex) { _itemIndex = itemIndex; } ////// public int ItemIndex { get { return _itemIndex; } } ///Gets the int argument to the command posted to the ///. This property is read-only. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OrderingExpression.cs
- CharAnimationBase.cs
- PartialClassGenerationTask.cs
- NamespaceInfo.cs
- CodeComment.cs
- DataPointer.cs
- MemoryFailPoint.cs
- ItemMap.cs
- IIS7WorkerRequest.cs
- TreeViewHitTestInfo.cs
- ObservableDictionary.cs
- PropertyOverridesTypeEditor.cs
- ReflectionPermission.cs
- ImageMap.cs
- LinkedResourceCollection.cs
- Attributes.cs
- EntityProxyTypeInfo.cs
- EntityTransaction.cs
- LocatorBase.cs
- AttributeProviderAttribute.cs
- DragCompletedEventArgs.cs
- CodeAttributeArgumentCollection.cs
- ClientTargetCollection.cs
- ExpandableObjectConverter.cs
- GraphicsPathIterator.cs
- SchemaImporterExtensionElement.cs
- ErrorRuntimeConfig.cs
- WindowsHyperlink.cs
- RegisteredScript.cs
- ObjectHelper.cs
- InternalSafeNativeMethods.cs
- ping.cs
- ModelUIElement3D.cs
- ElementAction.cs
- XmlIlGenerator.cs
- HttpHandler.cs
- MembershipUser.cs
- LinqDataSourceInsertEventArgs.cs
- ParserOptions.cs
- Point3DAnimation.cs
- Sorting.cs
- PersistStreamTypeWrapper.cs
- AssemblyName.cs
- CancellationTokenRegistration.cs
- FaultDescriptionCollection.cs
- HttpHostedTransportConfiguration.cs
- WebPartVerbsEventArgs.cs
- TreeView.cs
- CacheOutputQuery.cs
- BufferModesCollection.cs
- AlternateView.cs
- SHA1CryptoServiceProvider.cs
- NativeActivityFaultContext.cs
- SessionStateUtil.cs
- EventPropertyMap.cs
- PostBackOptions.cs
- TypographyProperties.cs
- UnsafeCollabNativeMethods.cs
- WaitForChangedResult.cs
- COM2ComponentEditor.cs
- QuestionEventArgs.cs
- ExceptionUtil.cs
- ContextMenuStripGroup.cs
- VisualTarget.cs
- TabControlCancelEvent.cs
- LinqDataSourceContextEventArgs.cs
- ObjectListCommandCollection.cs
- TrueReadOnlyCollection.cs
- Internal.cs
- ErrorTableItemStyle.cs
- ReadWriteObjectLock.cs
- NumericExpr.cs
- DesignerForm.cs
- PriorityBindingExpression.cs
- TextAction.cs
- ByteAnimationUsingKeyFrames.cs
- ChannelManager.cs
- CollectionContainer.cs
- securitycriticaldataClass.cs
- DocumentPaginator.cs
- ZipPackagePart.cs
- Crc32.cs
- ConfigurationElementCollection.cs
- XmlLanguageConverter.cs
- StringInfo.cs
- DeploymentSection.cs
- VirtualizedItemPattern.cs
- ServiceHost.cs
- PageAdapter.cs
- BasicCellRelation.cs
- CommandValueSerializer.cs
- CompositeFontFamily.cs
- SecurityHeader.cs
- NavigationEventArgs.cs
- EdgeProfileValidation.cs
- ImportRequest.cs
- ActivitiesCollection.cs
- NetNamedPipeSecurity.cs
- Simplifier.cs
- WebBrowserBase.cs