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
- DragEvent.cs
- DetailsViewRowCollection.cs
- FullTextBreakpoint.cs
- SqlProviderUtilities.cs
- InstanceDataCollectionCollection.cs
- ApplicationHost.cs
- ListViewDataItem.cs
- SafeCertificateStore.cs
- DataQuery.cs
- RequestSecurityTokenForGetBrowserToken.cs
- ServiceOperation.cs
- SqlClientMetaDataCollectionNames.cs
- ManifestResourceInfo.cs
- PersonalizationEntry.cs
- EventLogSession.cs
- ObjectNavigationPropertyMapping.cs
- HtmlElementErrorEventArgs.cs
- HttpModuleAction.cs
- PlainXmlDeserializer.cs
- AssemblyNameProxy.cs
- DataGridView.cs
- TreeViewItem.cs
- ApplicationSettingsBase.cs
- TextFormatterHost.cs
- WebRequest.cs
- AbandonedMutexException.cs
- DelayedRegex.cs
- XmlChildEnumerator.cs
- ServicesExceptionNotHandledEventArgs.cs
- XmlAttributeAttribute.cs
- LinearQuaternionKeyFrame.cs
- SortQueryOperator.cs
- FixedPage.cs
- IndicShape.cs
- assemblycache.cs
- FormClosingEvent.cs
- DaylightTime.cs
- TextViewBase.cs
- TypeUnloadedException.cs
- ChildrenQuery.cs
- DataDesignUtil.cs
- TextSegment.cs
- ParsedAttributeCollection.cs
- XmlHelper.cs
- _FixedSizeReader.cs
- CustomAttributeBuilder.cs
- PageVisual.cs
- SkinIDTypeConverter.cs
- EventBindingService.cs
- ChangeProcessor.cs
- ConvertBinder.cs
- IndexedEnumerable.cs
- PlainXmlDeserializer.cs
- ValueOfAction.cs
- TableRowsCollectionEditor.cs
- ControlIdConverter.cs
- XmlFormatExtensionAttribute.cs
- StringConcat.cs
- ToolStripMenuItem.cs
- ArcSegment.cs
- WindowsClaimSet.cs
- SmtpSection.cs
- DataGridTableCollection.cs
- WSHttpSecurity.cs
- PackWebRequestFactory.cs
- HtmlHistory.cs
- ExceptionRoutedEventArgs.cs
- WpfPayload.cs
- DesignerSerializationVisibilityAttribute.cs
- TextLine.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- DesignerRegion.cs
- AssemblyResourceLoader.cs
- CheckBoxRenderer.cs
- HostExecutionContextManager.cs
- NativeMethodsOther.cs
- JobCollate.cs
- PTManager.cs
- TemplateField.cs
- StringKeyFrameCollection.cs
- CommonObjectSecurity.cs
- SourceChangedEventArgs.cs
- MaskedTextProvider.cs
- AddingNewEventArgs.cs
- KeyEvent.cs
- OutOfProcStateClientManager.cs
- RandomNumberGenerator.cs
- Tablet.cs
- NonVisualControlAttribute.cs
- SafeFileMapViewHandle.cs
- ResetableIterator.cs
- SQLBytesStorage.cs
- VisualTransition.cs
- DbConnectionStringCommon.cs
- XmlSchemaAll.cs
- PassportPrincipal.cs
- NetCodeGroup.cs
- cookieexception.cs
- Decoder.cs
- RegexWorker.cs