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
- GACIdentityPermission.cs
- BooleanProjectedSlot.cs
- DataRecordInternal.cs
- WebPartCollection.cs
- PermissionToken.cs
- MatrixTransform.cs
- ConfigPathUtility.cs
- ContainerControl.cs
- ListDesigner.cs
- DataControlFieldCollection.cs
- ValidationPropertyAttribute.cs
- PartitionResolver.cs
- TargetException.cs
- ImpersonationContext.cs
- SessionState.cs
- CallbackHandler.cs
- PtsContext.cs
- log.cs
- Mappings.cs
- webeventbuffer.cs
- DictionaryManager.cs
- MailAddress.cs
- connectionpool.cs
- SettingsBindableAttribute.cs
- GroupItemAutomationPeer.cs
- CodeDomConfigurationHandler.cs
- TabControlEvent.cs
- ProgressPage.cs
- MethodSignatureGenerator.cs
- SQLByteStorage.cs
- CounterSample.cs
- TableItemStyle.cs
- XmlSchemaImporter.cs
- PasswordBox.cs
- ObjectItemLoadingSessionData.cs
- LocalServiceSecuritySettings.cs
- RuntimeVariablesExpression.cs
- FileDialog_Vista.cs
- BypassElement.cs
- CodeAttributeArgumentCollection.cs
- QualificationDataAttribute.cs
- GenericWebPart.cs
- AdapterDictionary.cs
- AuthenticationConfig.cs
- CharEnumerator.cs
- XamlVector3DCollectionSerializer.cs
- ToolStripDropDown.cs
- NamedPipeProcessProtocolHandler.cs
- PropertyValueChangedEvent.cs
- IntPtr.cs
- MouseButton.cs
- CodeGotoStatement.cs
- WorkflowViewService.cs
- SQLBinary.cs
- NotifyParentPropertyAttribute.cs
- KeyEventArgs.cs
- WindowsFormsHostPropertyMap.cs
- PrinterSettings.cs
- FixedSOMPageConstructor.cs
- VarRemapper.cs
- EnumerableRowCollection.cs
- ValidationResult.cs
- ImmutablePropertyDescriptorGridEntry.cs
- Byte.cs
- userdatakeys.cs
- HttpWebRequestElement.cs
- PropertyEmitter.cs
- CacheModeValueSerializer.cs
- ServerValidateEventArgs.cs
- XmlText.cs
- DefaultMergeHelper.cs
- FileInfo.cs
- MaskInputRejectedEventArgs.cs
- ItemsControlAutomationPeer.cs
- DataTransferEventArgs.cs
- Win32KeyboardDevice.cs
- HandlerBase.cs
- DbConnectionPool.cs
- HttpCachePolicyBase.cs
- MailMessage.cs
- FileDataSourceCache.cs
- CodeLabeledStatement.cs
- HMAC.cs
- TextCollapsingProperties.cs
- DocumentApplicationJournalEntry.cs
- FixedNode.cs
- DefaultParameterValueAttribute.cs
- HealthMonitoringSectionHelper.cs
- StylusButtonEventArgs.cs
- Style.cs
- IISMapPath.cs
- DeclaredTypeValidator.cs
- ProxyHelper.cs
- PrintPreviewControl.cs
- RegistrationServices.cs
- ProtocolsSection.cs
- precedingquery.cs
- AmbientProperties.cs
- RowBinding.cs
- CommonProperties.cs