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
- XmlDownloadManager.cs
- LineUtil.cs
- DataConnectionHelper.cs
- UnsafeCollabNativeMethods.cs
- BamlResourceContent.cs
- AttributedMetaModel.cs
- DataServiceQueryException.cs
- PowerModeChangedEventArgs.cs
- DefaultValueTypeConverter.cs
- XmlReaderSettings.cs
- DataGridColumnFloatingHeader.cs
- FixedSOMTableRow.cs
- DataServiceResponse.cs
- RegionIterator.cs
- QuaternionValueSerializer.cs
- Track.cs
- DrawingVisual.cs
- PropertyCondition.cs
- Style.cs
- SolidColorBrush.cs
- Hash.cs
- UInt64Converter.cs
- CodeGenerationManager.cs
- MTConfigUtil.cs
- XmlReaderSettings.cs
- LZCodec.cs
- ICollection.cs
- XmlCharCheckingReader.cs
- TextRange.cs
- ImageSourceConverter.cs
- PropertyValueUIItem.cs
- PreservationFileWriter.cs
- CompoundFileStorageReference.cs
- WebInvokeAttribute.cs
- StorageBasedPackageProperties.cs
- XmlSerializerVersionAttribute.cs
- SafeNativeMethods.cs
- HttpStaticObjectsCollectionBase.cs
- JsonReaderDelegator.cs
- Rijndael.cs
- ConstructorBuilder.cs
- InProcStateClientManager.cs
- Stack.cs
- Size3DValueSerializer.cs
- SecurityManager.cs
- SoapObjectReader.cs
- SByte.cs
- ValidatorCompatibilityHelper.cs
- MediaCommands.cs
- ListViewItem.cs
- NetworkInformationPermission.cs
- MailBnfHelper.cs
- DelegateBodyWriter.cs
- DataPager.cs
- HierarchicalDataTemplate.cs
- HttpAsyncResult.cs
- CompModSwitches.cs
- DataControlPagerLinkButton.cs
- TargetControlTypeCache.cs
- PlacementWorkspace.cs
- XPathNodePointer.cs
- SinglePageViewer.cs
- SimpleTableProvider.cs
- ToolZoneDesigner.cs
- DynamicObjectAccessor.cs
- SignatureGenerator.cs
- SectionUpdates.cs
- OneToOneMappingSerializer.cs
- IsolatedStorageFilePermission.cs
- HostedHttpTransportManager.cs
- SslStream.cs
- HttpModuleCollection.cs
- Automation.cs
- RawKeyboardInputReport.cs
- ParameterModifier.cs
- SynchronizationLockException.cs
- EntityClientCacheEntry.cs
- WebPartVerbsEventArgs.cs
- EventBuilder.cs
- GridViewColumnHeaderAutomationPeer.cs
- DrawingState.cs
- GenericFlowSwitchHelper.cs
- BitArray.cs
- WriteFileContext.cs
- Decoder.cs
- TrustManagerPromptUI.cs
- OpCopier.cs
- OdbcErrorCollection.cs
- SectionInput.cs
- KeySplineConverter.cs
- StreamInfo.cs
- UInt16Storage.cs
- NotSupportedException.cs
- EpmContentSerializer.cs
- PairComparer.cs
- SuppressMergeCheckAttribute.cs
- RadioButton.cs
- ByteAnimationUsingKeyFrames.cs
- ServiceNameCollection.cs
- XmlSchemaAll.cs