Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewUpdateEventArgs.cs / 1 / ListViewUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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 { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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
- ReadOnlyTernaryTree.cs
- JpegBitmapEncoder.cs
- WindowsToolbar.cs
- GridLength.cs
- ButtonChrome.cs
- RequestQueue.cs
- UserNameSecurityToken.cs
- MenuCommandsChangedEventArgs.cs
- ToolStripContentPanelRenderEventArgs.cs
- TypeUnloadedException.cs
- ColumnCollection.cs
- XamlReaderHelper.cs
- VSWCFServiceContractGenerator.cs
- TableRowCollection.cs
- RtfFormatStack.cs
- EdmSchemaAttribute.cs
- TableLayoutCellPaintEventArgs.cs
- InterleavedZipPartStream.cs
- DataGridTable.cs
- DataDocumentXPathNavigator.cs
- MailWebEventProvider.cs
- StringPropertyBuilder.cs
- ObjectDataSourceDisposingEventArgs.cs
- SmtpNegotiateAuthenticationModule.cs
- EntryWrittenEventArgs.cs
- ReliableRequestSessionChannel.cs
- ExpressionLink.cs
- Setter.cs
- FilterQueryOptionExpression.cs
- DebugViewWriter.cs
- AppDomainShutdownMonitor.cs
- BitmapEffectInputData.cs
- TemplateBuilder.cs
- UTF32Encoding.cs
- GenerateTemporaryTargetAssembly.cs
- ExtractorMetadata.cs
- SmiGettersStream.cs
- PageBuildProvider.cs
- XmlSchemaObjectCollection.cs
- ProxyAttribute.cs
- URLMembershipCondition.cs
- CssTextWriter.cs
- Zone.cs
- ViewGenResults.cs
- ExpressionCopier.cs
- BookmarkScope.cs
- SiteMapNode.cs
- Size.cs
- OracleMonthSpan.cs
- LogSwitch.cs
- MD5.cs
- XNodeSchemaApplier.cs
- CodeNamespaceImport.cs
- TextModifierScope.cs
- HttpWrapper.cs
- rsa.cs
- CookielessData.cs
- PropertyValueUIItem.cs
- ExtendedPropertyCollection.cs
- FlowDocumentFormatter.cs
- RuleInfoComparer.cs
- CustomExpression.cs
- TextPenaltyModule.cs
- CompensationHandlingFilter.cs
- CallbackCorrelationInitializer.cs
- MeasurementDCInfo.cs
- ServiceDescriptionContext.cs
- ResourcePermissionBase.cs
- StringSource.cs
- Label.cs
- CachingHintValidation.cs
- ParserExtension.cs
- RemoteWebConfigurationHost.cs
- Pool.cs
- MULTI_QI.cs
- ParallelTimeline.cs
- ProcessRequestArgs.cs
- Events.cs
- StyleReferenceConverter.cs
- OnOperation.cs
- ACL.cs
- XmlElementAttributes.cs
- SingleTagSectionHandler.cs
- SystemDiagnosticsSection.cs
- XmlElementAttributes.cs
- ByteFacetDescriptionElement.cs
- UInt32Storage.cs
- IIS7WorkerRequest.cs
- Exceptions.cs
- SpeechSynthesizer.cs
- HttpConfigurationSystem.cs
- RepeatButtonAutomationPeer.cs
- _LocalDataStore.cs
- TableItemProviderWrapper.cs
- KeyEvent.cs
- EventHandlersStore.cs
- MdiWindowListItemConverter.cs
- ScriptComponentDescriptor.cs
- SymbolPair.cs
- LocalizableResourceBuilder.cs