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
- SystemIPv6InterfaceProperties.cs
- ToolStripRenderEventArgs.cs
- SqlReorderer.cs
- DictionaryBase.cs
- HTMLTagNameToTypeMapper.cs
- VerificationAttribute.cs
- RandomNumberGenerator.cs
- WebPartDisplayModeEventArgs.cs
- ClientRolePrincipal.cs
- DataObject.cs
- PenThread.cs
- BuildResultCache.cs
- SHA1CryptoServiceProvider.cs
- DesignerActionVerbList.cs
- SessionConnectionReader.cs
- CodePageUtils.cs
- CodePageEncoding.cs
- TripleDES.cs
- AddDataControlFieldDialog.cs
- EntityDataSourceDesignerHelper.cs
- TaskFileService.cs
- QueryResults.cs
- Margins.cs
- ISO2022Encoding.cs
- UnSafeCharBuffer.cs
- SspiNegotiationTokenAuthenticatorState.cs
- CodeAssignStatement.cs
- ListBox.cs
- SafeFileMappingHandle.cs
- TheQuery.cs
- CoTaskMemHandle.cs
- WebPartCatalogCloseVerb.cs
- QualifiedCellIdBoolean.cs
- DmlSqlGenerator.cs
- MobileErrorInfo.cs
- URLIdentityPermission.cs
- EnumCodeDomSerializer.cs
- UICuesEvent.cs
- ObfuscateAssemblyAttribute.cs
- WCFBuildProvider.cs
- TlsnegoTokenProvider.cs
- ToolStripItemEventArgs.cs
- Trace.cs
- LiteralText.cs
- FontDifferentiator.cs
- EdmComplexPropertyAttribute.cs
- BindingMemberInfo.cs
- WizardStepBase.cs
- BuildProvider.cs
- SerialStream.cs
- UIPropertyMetadata.cs
- ControlEvent.cs
- EventSourceCreationData.cs
- Help.cs
- DoubleAnimation.cs
- TextServicesContext.cs
- Vector3DKeyFrameCollection.cs
- GlyphTypeface.cs
- DataTableMapping.cs
- DataGridViewRowCancelEventArgs.cs
- CalendarTable.cs
- DynamicRouteExpression.cs
- PropertyStore.cs
- TextServicesManager.cs
- DropShadowBitmapEffect.cs
- DataConnectionHelper.cs
- MediaContextNotificationWindow.cs
- XhtmlCssHandler.cs
- DataGridViewSelectedColumnCollection.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- RegistryExceptionHelper.cs
- OleDbConnection.cs
- VirtualizedCellInfoCollection.cs
- SystemWebExtensionsSectionGroup.cs
- XPathDocument.cs
- NamedElement.cs
- OutputCacheSettings.cs
- CollectionEditor.cs
- DelimitedListTraceListener.cs
- ComponentCollection.cs
- Padding.cs
- FontDifferentiator.cs
- PerfCounters.cs
- RSAPKCS1SignatureDeformatter.cs
- SystemEvents.cs
- DataServiceQueryOfT.cs
- DeclaredTypeElementCollection.cs
- TextTreeExtractElementUndoUnit.cs
- XmlHierarchicalDataSourceView.cs
- RegionInfo.cs
- MatrixAnimationUsingKeyFrames.cs
- GenericPrincipal.cs
- BaseProcessor.cs
- OdbcPermission.cs
- UInt32Storage.cs
- ClientData.cs
- TextServicesProperty.cs
- Pen.cs
- RoleManagerEventArgs.cs
- DataKey.cs