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
- XPathScanner.cs
- ExpressionBuilder.cs
- XDeferredAxisSource.cs
- SrgsRuleRef.cs
- LinkDescriptor.cs
- ControlsConfig.cs
- ConnectionPoint.cs
- DependencyPropertyKey.cs
- basenumberconverter.cs
- ContentFileHelper.cs
- DataGridTextBox.cs
- ToolStripSettings.cs
- SpotLight.cs
- Speller.cs
- BrushMappingModeValidation.cs
- WCFServiceClientProxyGenerator.cs
- BehaviorEditorPart.cs
- FileDialog_Vista_Interop.cs
- XmlnsPrefixAttribute.cs
- RegexTypeEditor.cs
- EncryptedKey.cs
- RowCache.cs
- CollectionViewGroupRoot.cs
- ScriptControlDescriptor.cs
- Debug.cs
- ColorTransform.cs
- HandlerMappingMemo.cs
- IconEditor.cs
- DataGridViewComboBoxEditingControl.cs
- TypeGeneratedEventArgs.cs
- DbConnectionStringCommon.cs
- TcpChannelFactory.cs
- Font.cs
- CompiledRegexRunnerFactory.cs
- CollectionDataContractAttribute.cs
- TextDecorationUnitValidation.cs
- DataRecord.cs
- PrivacyNoticeElement.cs
- FixedSOMPage.cs
- VisualTarget.cs
- ObjRef.cs
- WebServiceResponse.cs
- HitTestDrawingContextWalker.cs
- TraceFilter.cs
- ReadWriteSpinLock.cs
- LinkedResourceCollection.cs
- PeerNameRecordCollection.cs
- KnownBoxes.cs
- ImageButton.cs
- RemoteWebConfigurationHostServer.cs
- SafeCoTaskMem.cs
- ThicknessConverter.cs
- NonClientArea.cs
- Geometry.cs
- EntityDataSourceEntityTypeFilterItem.cs
- InputMethod.cs
- QilUnary.cs
- Renderer.cs
- TextEditorSpelling.cs
- AnimationClock.cs
- GradientBrush.cs
- CmsUtils.cs
- KnownBoxes.cs
- ToolStripTemplateNode.cs
- AppDomain.cs
- TimeSpanValidatorAttribute.cs
- GridViewCellAutomationPeer.cs
- ProtocolReflector.cs
- DocumentApplication.cs
- MimeFormatter.cs
- _ShellExpression.cs
- RootAction.cs
- _UriSyntax.cs
- HtmlHistory.cs
- InvalidFilterCriteriaException.cs
- XmlSchemaGroupRef.cs
- InputLangChangeEvent.cs
- Package.cs
- PeerObject.cs
- Convert.cs
- ScriptServiceAttribute.cs
- Bezier.cs
- WebPartManager.cs
- AsyncResult.cs
- ItemCheckEvent.cs
- KeyInstance.cs
- SQLDecimalStorage.cs
- AttachedPropertyMethodSelector.cs
- ClosureBinding.cs
- RepeatBehavior.cs
- SHA512.cs
- TypeBuilderInstantiation.cs
- DeflateEmulationStream.cs
- ScriptDescriptor.cs
- CalendarDateRange.cs
- ObjectItemCollection.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- x509utils.cs
- ListViewSortEventArgs.cs
- Border.cs