Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewUpdateEventArgs.cs / 1 / DetailsViewUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewUpdateEventArgs : CancelEventArgs { private object _commandArgument; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public DetailsViewUpdateEventArgs(object commandArgument) : base(false) { this._commandArgument = commandArgument; } ///Initializes a new instance of the ////// class. /// public object CommandArgument { get { return _commandArgument; } } ///Gets the 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewUpdateEventArgs : CancelEventArgs { private object _commandArgument; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public DetailsViewUpdateEventArgs(object commandArgument) : base(false) { this._commandArgument = commandArgument; } ///Initializes a new instance of the ////// class. /// public object CommandArgument { get { return _commandArgument; } } ///Gets the 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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- FileDialogPermission.cs
- connectionpool.cs
- GuidelineSet.cs
- ScalarOps.cs
- ReturnValue.cs
- ObjectTokenCategory.cs
- RenamedEventArgs.cs
- LoginView.cs
- ComNativeDescriptor.cs
- SqlConnectionPoolProviderInfo.cs
- DateTimeHelper.cs
- SettingsAttributeDictionary.cs
- FixedNode.cs
- MessageHeader.cs
- ThreadStartException.cs
- XamlToRtfWriter.cs
- MailDefinition.cs
- UnwrappedTypesXmlSerializerManager.cs
- DoneReceivingAsyncResult.cs
- MobileUserControlDesigner.cs
- GregorianCalendar.cs
- WebPartDisplayModeCollection.cs
- ListViewGroup.cs
- PersonalizableAttribute.cs
- SchemaObjectWriter.cs
- RegionInfo.cs
- SymLanguageType.cs
- FrameworkElementFactory.cs
- CalendarDateRange.cs
- ExternalDataExchangeService.cs
- StatusBarPanel.cs
- CultureTable.cs
- BitmapFrame.cs
- Misc.cs
- DoubleStorage.cs
- DesignBindingValueUIHandler.cs
- NeutralResourcesLanguageAttribute.cs
- RequiredFieldValidator.cs
- EndEvent.cs
- _ListenerResponseStream.cs
- DataGridCommandEventArgs.cs
- WindowsTreeView.cs
- COM2PictureConverter.cs
- CollectionChangeEventArgs.cs
- DrawListViewSubItemEventArgs.cs
- ScriptingRoleServiceSection.cs
- StyleXamlParser.cs
- DataGridParentRows.cs
- ModelItem.cs
- Semaphore.cs
- FrameworkContentElementAutomationPeer.cs
- SimpleFieldTemplateFactory.cs
- EncoderNLS.cs
- AnnotationComponentChooser.cs
- AutomationProperties.cs
- precedingquery.cs
- ProfileModule.cs
- SmiEventStream.cs
- RightsManagementManager.cs
- PerformanceCounterPermissionEntry.cs
- LeaseManager.cs
- ParentUndoUnit.cs
- KnownIds.cs
- TraceData.cs
- followingsibling.cs
- BulletChrome.cs
- SystemWebExtensionsSectionGroup.cs
- DynamicObjectAccessor.cs
- ObjectDataSource.cs
- GridItemProviderWrapper.cs
- SafeFindHandle.cs
- BuilderPropertyEntry.cs
- DuplicateDetector.cs
- ClassImporter.cs
- SmiEventSink_Default.cs
- FacetDescriptionElement.cs
- X509CertificateInitiatorServiceCredential.cs
- Overlapped.cs
- SystemColors.cs
- FixedSOMLineRanges.cs
- nulltextcontainer.cs
- RegexGroupCollection.cs
- PieceNameHelper.cs
- AddInBase.cs
- WindowsAuthenticationEventArgs.cs
- BindingWorker.cs
- HtmlTableCellCollection.cs
- WindowsTab.cs
- BitmapEffectInputData.cs
- BindableAttribute.cs
- DataGrid.cs
- XPathNavigator.cs
- LinkAreaEditor.cs
- UrlPropertyAttribute.cs
- NamespaceList.cs
- StyleCollectionEditor.cs
- RijndaelCryptoServiceProvider.cs
- CorrelationTokenTypeConvertor.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- BufferAllocator.cs