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
- PanelStyle.cs
- Pointer.cs
- ExpandedWrapper.cs
- Util.cs
- ErrorFormatter.cs
- BreadCrumbTextConverter.cs
- DocumentStatusResources.cs
- DesignTimeHTMLTextWriter.cs
- PartBasedPackageProperties.cs
- DbSetClause.cs
- SQLByte.cs
- TypeDescriptorContext.cs
- DataGridCellAutomationPeer.cs
- wgx_commands.cs
- SecureStringHasher.cs
- Baml2006ReaderFrame.cs
- SystemIcmpV6Statistics.cs
- XmlILAnnotation.cs
- WebServiceHandler.cs
- SmiEventStream.cs
- AssemblyBuilder.cs
- SQLUtility.cs
- MouseDevice.cs
- DataGridCommandEventArgs.cs
- WizardForm.cs
- XmlParserContext.cs
- HttpDebugHandler.cs
- AxisAngleRotation3D.cs
- InlineCollection.cs
- XmlBinaryReaderSession.cs
- SupportingTokenChannel.cs
- ScrollBarRenderer.cs
- InkCanvasFeedbackAdorner.cs
- PageBreakRecord.cs
- ListBox.cs
- AxParameterData.cs
- PersonalizablePropertyEntry.cs
- HtmlTitle.cs
- WorkflowMarkupSerializationException.cs
- DesignerActionVerbList.cs
- MouseOverProperty.cs
- RepeatButtonAutomationPeer.cs
- MeasurementDCInfo.cs
- DbConnectionPoolCounters.cs
- XmlSerializerNamespaces.cs
- RemoteArgument.cs
- XmlObjectSerializerReadContext.cs
- DetailsViewUpdatedEventArgs.cs
- HebrewNumber.cs
- TextEditorDragDrop.cs
- SignatureSummaryDialog.cs
- FragmentQuery.cs
- XmlSchemaParticle.cs
- MembershipValidatePasswordEventArgs.cs
- XhtmlBasicPanelAdapter.cs
- WindowsMenu.cs
- RenderContext.cs
- MediaEntryAttribute.cs
- HeaderedItemsControl.cs
- InvalidComObjectException.cs
- BookmarkScope.cs
- DataPager.cs
- WorkflowMarkupSerializationProvider.cs
- ColumnCollection.cs
- ComponentManagerBroker.cs
- DbConnectionClosed.cs
- NavigationExpr.cs
- XComponentModel.cs
- AbandonedMutexException.cs
- TrustManagerMoreInformation.cs
- JumpItem.cs
- GenericTypeParameterBuilder.cs
- DataKey.cs
- UnsafePeerToPeerMethods.cs
- DataBindingHandlerAttribute.cs
- StreamGeometry.cs
- PrintDialogException.cs
- ViewLoader.cs
- WebPartConnectionsCancelVerb.cs
- DrawingAttributeSerializer.cs
- XPathAxisIterator.cs
- DoubleStorage.cs
- ListBox.cs
- altserialization.cs
- EntityViewGenerationAttribute.cs
- ImageField.cs
- IisTraceWebEventProvider.cs
- SharedUtils.cs
- TextWriter.cs
- WorkItem.cs
- EdmValidator.cs
- NetworkInformationException.cs
- WebPartDisplayModeEventArgs.cs
- Rotation3DKeyFrameCollection.cs
- ActivityBuilder.cs
- Timer.cs
- ComponentConverter.cs
- KeyGestureValueSerializer.cs
- ResourcePart.cs
- Evidence.cs