Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewDeleteEventArgs.cs / 1 / GridViewDeleteEventArgs.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;
///
/// Provides data for some events.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class GridViewDeleteEventArgs : CancelEventArgs {
private int _rowIndex;
private OrderedDictionary _keys;
private OrderedDictionary _values;
public GridViewDeleteEventArgs(int rowIndex) : base(false) {
this._rowIndex = rowIndex;
}
public int RowIndex {
get {
return _rowIndex;
}
}
///
/// Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only.
///
public IOrderedDictionary Keys {
get {
if (_keys == null) {
_keys = new OrderedDictionary();
}
return _keys;
}
}
///
/// Gets a keyed list to populate with old row values. This property is read-only.
///
public IOrderedDictionary Values {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DbXmlEnabledProviderManifest.cs
- ApplicationContext.cs
- Compiler.cs
- WindowsListViewItemCheckBox.cs
- TemplateDefinition.cs
- SoapObjectInfo.cs
- XmlSchemaImport.cs
- TextServicesLoader.cs
- ProcessHost.cs
- documentsequencetextcontainer.cs
- ObjectDataSourceEventArgs.cs
- ClaimTypeElement.cs
- RadialGradientBrush.cs
- ProfileService.cs
- XMLUtil.cs
- NumericExpr.cs
- ValueSerializer.cs
- ClientTargetCollection.cs
- Token.cs
- ColumnBinding.cs
- SubMenuStyleCollection.cs
- ComponentFactoryHelpers.cs
- SqlTopReducer.cs
- ActionFrame.cs
- TableTextElementCollectionInternal.cs
- GridViewActionList.cs
- PermissionListSet.cs
- KnownTypes.cs
- MimeXmlImporter.cs
- VectorValueSerializer.cs
- TypeBrowser.xaml.cs
- FragmentQueryKB.cs
- HttpContext.cs
- QuaternionAnimationUsingKeyFrames.cs
- XmlDocumentType.cs
- TextEditorParagraphs.cs
- HttpContextWrapper.cs
- ValidationSettings.cs
- DocumentScope.cs
- DrawTreeNodeEventArgs.cs
- BigIntegerStorage.cs
- CodeDOMUtility.cs
- ZoneButton.cs
- FunctionDescription.cs
- FontEmbeddingManager.cs
- UserPreferenceChangedEventArgs.cs
- UserControlParser.cs
- PresentationSource.cs
- ChannelServices.cs
- DataRelationPropertyDescriptor.cs
- ServerIdentity.cs
- AsyncOperationManager.cs
- Setter.cs
- FragmentQueryKB.cs
- ProtocolViolationException.cs
- GenericEnumConverter.cs
- CreateUserWizardStep.cs
- JsonFormatReaderGenerator.cs
- SrgsOneOf.cs
- DesignerProperties.cs
- Baml2006ReaderContext.cs
- NativeActivityAbortContext.cs
- UnsafeNativeMethods.cs
- MethodCallTranslator.cs
- Win32Exception.cs
- TogglePatternIdentifiers.cs
- WebHttpBehavior.cs
- InvalidateEvent.cs
- MethodCallConverter.cs
- ColorTransformHelper.cs
- SoapExtensionTypeElementCollection.cs
- BitConverter.cs
- SetUserPreferenceRequest.cs
- Ref.cs
- UnconditionalPolicy.cs
- SoapSchemaMember.cs
- FileSystemEventArgs.cs
- FacetEnabledSchemaElement.cs
- Typeface.cs
- initElementDictionary.cs
- DomainUpDown.cs
- LocalsItemDescription.cs
- IncrementalCompileAnalyzer.cs
- Site.cs
- GlyphElement.cs
- WindowsAuthenticationModule.cs
- TemplateBindingExtensionConverter.cs
- DataGridViewButtonColumn.cs
- VariantWrapper.cs
- errorpatternmatcher.cs
- RequestTimeoutManager.cs
- HeaderUtility.cs
- DataException.cs
- DefaultSection.cs
- PolygonHotSpot.cs
- EntitySqlQueryCacheKey.cs
- PointHitTestResult.cs
- Camera.cs
- Stream.cs
- ServiceChannelProxy.cs