Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AccessibleObject.cs
- RuntimeArgument.cs
- FormViewPagerRow.cs
- DeferrableContentConverter.cs
- DesignTimeData.cs
- HttpWriter.cs
- FaultHandlingFilter.cs
- BooleanSwitch.cs
- xmlglyphRunInfo.cs
- ComboBoxItem.cs
- Enum.cs
- RecognitionEventArgs.cs
- ErrorInfoXmlDocument.cs
- ImageFormat.cs
- Publisher.cs
- MeshGeometry3D.cs
- XmlReader.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XmlSchemaException.cs
- EntityWrapperFactory.cs
- SymLanguageType.cs
- Rect.cs
- BamlBinaryReader.cs
- TextRangeProviderWrapper.cs
- CollectionViewGroup.cs
- KeyValueSerializer.cs
- ProfessionalColors.cs
- Matrix3DValueSerializer.cs
- FunctionUpdateCommand.cs
- Geometry3D.cs
- oledbmetadatacolumnnames.cs
- UrlAuthFailedErrorFormatter.cs
- WindowsImpersonationContext.cs
- SpinLock.cs
- ManagementException.cs
- DataStreams.cs
- httpserverutility.cs
- ManifestBasedResourceGroveler.cs
- PagedDataSource.cs
- ConfigsHelper.cs
- QilUnary.cs
- SafeReversePInvokeHandle.cs
- ResolvedKeyFrameEntry.cs
- TemplateBindingExtension.cs
- XmlDictionaryString.cs
- MailDefinitionBodyFileNameEditor.cs
- MobileTextWriter.cs
- WMIGenerator.cs
- ClientCultureInfo.cs
- WindowsListViewScroll.cs
- AuthenticationModuleElement.cs
- Size.cs
- EventProperty.cs
- DiscardableAttribute.cs
- RemoveStoryboard.cs
- ConfigurationSectionGroupCollection.cs
- ProfileManager.cs
- IMembershipProvider.cs
- TableDetailsCollection.cs
- MetaModel.cs
- ClosableStream.cs
- MediaEntryAttribute.cs
- TextStore.cs
- COM2TypeInfoProcessor.cs
- DecimalAnimationBase.cs
- PeerCollaborationPermission.cs
- SynchronizationFilter.cs
- EndpointInfoCollection.cs
- ClientSponsor.cs
- ObservableDictionary.cs
- NullableDoubleMinMaxAggregationOperator.cs
- RepeatButtonAutomationPeer.cs
- InputQueue.cs
- Image.cs
- RegexRunner.cs
- ScalarType.cs
- WindowsButton.cs
- EntityReference.cs
- PlainXmlWriter.cs
- ConfigurationFileMap.cs
- SplitContainerDesigner.cs
- COM2ExtendedUITypeEditor.cs
- TypeCollectionPropertyEditor.cs
- WebFormDesignerActionService.cs
- RegexMatch.cs
- DirectoryInfo.cs
- QilPatternFactory.cs
- InvokePattern.cs
- ScriptReference.cs
- WebPartEditorOkVerb.cs
- Renderer.cs
- ZoneButton.cs
- DashStyle.cs
- PageParser.cs
- BrowserTree.cs
- FocusManager.cs
- BuilderPropertyEntry.cs
- CorrelationResolver.cs
- CounterCreationDataCollection.cs
- TextPointerBase.cs