Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. //------------------------------------------------------------------------------ //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.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
- ToolStripDropDownItem.cs
- PathFigureCollection.cs
- XmlToDatasetMap.cs
- ReversePositionQuery.cs
- FixedTextPointer.cs
- CodeNamespaceImport.cs
- SpellCheck.cs
- Boolean.cs
- TextBox.cs
- TextServicesCompartmentEventSink.cs
- SecurityTokenSerializer.cs
- BinaryObjectWriter.cs
- OleDbDataReader.cs
- SemanticResultKey.cs
- EventProxy.cs
- XamlGridLengthSerializer.cs
- XmlSchemaValidator.cs
- DataGridCommandEventArgs.cs
- WebPartEditorApplyVerb.cs
- CfgRule.cs
- Size.cs
- _UriSyntax.cs
- RuntimeIdentifierPropertyAttribute.cs
- ContentPresenter.cs
- AggregateNode.cs
- ItemContainerGenerator.cs
- EntityDataSourceValidationException.cs
- validation.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- DesignerProperties.cs
- TextFormatterImp.cs
- RuntimeConfig.cs
- ProfilePropertySettings.cs
- GroupStyle.cs
- EdmToObjectNamespaceMap.cs
- WebPartCollection.cs
- ClientTargetCollection.cs
- CustomAttribute.cs
- Page.cs
- Debug.cs
- CompositeActivityTypeDescriptor.cs
- SHA384Managed.cs
- PublishLicense.cs
- ZipIOExtraFieldPaddingElement.cs
- WebBrowserNavigatedEventHandler.cs
- SettingsPropertyCollection.cs
- Stream.cs
- SqlUdtInfo.cs
- DragAssistanceManager.cs
- WebPartMinimizeVerb.cs
- CodeTypeMember.cs
- ConfigurationManagerHelper.cs
- TextEditorMouse.cs
- Compiler.cs
- ThumbAutomationPeer.cs
- EnumMember.cs
- UserValidatedEventArgs.cs
- KeysConverter.cs
- TileBrush.cs
- CmsInterop.cs
- BindingContext.cs
- SmtpMail.cs
- TextSelection.cs
- BrowserInteropHelper.cs
- ObjectStateFormatter.cs
- ButtonBase.cs
- SafeNativeMethods.cs
- ErrorTolerantObjectWriter.cs
- DefaultTextStoreTextComposition.cs
- TemplatedControlDesigner.cs
- _ServiceNameStore.cs
- TypefaceCollection.cs
- HttpPostServerProtocol.cs
- ButtonAutomationPeer.cs
- Rfc2898DeriveBytes.cs
- DataTableTypeConverter.cs
- XmlSchemaComplexContent.cs
- EntityContainerEntitySetDefiningQuery.cs
- RotateTransform3D.cs
- DrawingImage.cs
- ExtenderHelpers.cs
- DbModificationCommandTree.cs
- SqlDataReader.cs
- SqlDataSourceSelectingEventArgs.cs
- cookiecollection.cs
- Win32MouseDevice.cs
- WebServiceErrorEvent.cs
- InkCanvas.cs
- SpeakCompletedEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- MonitorWrapper.cs
- HelloMessageApril2005.cs
- WSDualHttpSecurity.cs
- RefreshEventArgs.cs
- StylesEditorDialog.cs
- WorkflowMarkupSerializationException.cs
- MonikerProxyAttribute.cs
- ResizeBehavior.cs
- HttpCapabilitiesEvaluator.cs
- Binding.cs