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 / DetailsViewDeleteEventArgs.cs / 1 / DetailsViewDeleteEventArgs.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 DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a keyed list to populate with old 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 DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a keyed list to populate with old row values. This property is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlException.cs
- _NestedMultipleAsyncResult.cs
- BindingMAnagerBase.cs
- Margins.cs
- ServiceBusyException.cs
- HttpDigestClientElement.cs
- WindowsStartMenu.cs
- WebBrowser.cs
- CompoundFileStorageReference.cs
- EventEntry.cs
- StreamGeometry.cs
- CodeCommentStatementCollection.cs
- OperationCanceledException.cs
- ExceptionCollection.cs
- LockedActivityGlyph.cs
- XmlEncoding.cs
- SystemIcmpV6Statistics.cs
- KeyEvent.cs
- XappLauncher.cs
- TextTabProperties.cs
- FontFamilyConverter.cs
- DesignSurfaceManager.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- smtpconnection.cs
- BigInt.cs
- WebPartTracker.cs
- KeyMatchBuilder.cs
- SafeRightsManagementPubHandle.cs
- TabControlEvent.cs
- Char.cs
- SizeAnimationUsingKeyFrames.cs
- HtmlInputButton.cs
- RewritingProcessor.cs
- AutomationAttributeInfo.cs
- ResourceDictionaryCollection.cs
- StringAttributeCollection.cs
- SharedStream.cs
- RegexGroupCollection.cs
- PanningMessageFilter.cs
- GridSplitter.cs
- SerialStream.cs
- LifetimeServices.cs
- ContainerParagraph.cs
- IgnoreFileBuildProvider.cs
- LambdaCompiler.Binary.cs
- PrimitiveType.cs
- XmlCharType.cs
- XmlAnyAttributeAttribute.cs
- datacache.cs
- ZipFileInfo.cs
- Menu.cs
- LassoHelper.cs
- SurrogateChar.cs
- assertwrapper.cs
- TagPrefixInfo.cs
- TextSelectionHighlightLayer.cs
- EntityCommandDefinition.cs
- CustomTokenProvider.cs
- TabControlCancelEvent.cs
- DrawingAttributes.cs
- SqlUserDefinedTypeAttribute.cs
- RuntimeConfigLKG.cs
- TabControlCancelEvent.cs
- DesignerSelectionListAdapter.cs
- EdmError.cs
- BinaryNegotiation.cs
- AsyncPostBackErrorEventArgs.cs
- EdmItemCollection.cs
- DataServiceQuery.cs
- InputReport.cs
- DecoderReplacementFallback.cs
- DeclarativeCatalogPart.cs
- StubHelpers.cs
- ReverseQueryOperator.cs
- EmptyEnumerable.cs
- DebugView.cs
- CorrelationValidator.cs
- Simplifier.cs
- Int32Rect.cs
- WebUtility.cs
- WCFModelStrings.Designer.cs
- Cursors.cs
- SystemResourceHost.cs
- BitConverter.cs
- NegatedCellConstant.cs
- SchemaElementDecl.cs
- PauseStoryboard.cs
- RoutedPropertyChangedEventArgs.cs
- GuidelineCollection.cs
- InkCanvasAutomationPeer.cs
- ListenerElementsCollection.cs
- ScrollChangedEventArgs.cs
- SystemUnicastIPAddressInformation.cs
- PolicyLevel.cs
- ObjectStateManagerMetadata.cs
- mda.cs
- SqlCaseSimplifier.cs
- TimeSpanSecondsConverter.cs
- SoapReflectionImporter.cs
- InteropEnvironment.cs