Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewSelectEventArgs.cs / 1 / GridViewSelectEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Provides data for
/// the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class GridViewSelectEventArgs : CancelEventArgs {
private int _newSelectedIndex;
///
/// Initializes a new instance of the class.
///
public GridViewSelectEventArgs(int newSelectedIndex) {
this._newSelectedIndex = newSelectedIndex;
}
///
/// Gets the index of the selected row to be displayed in the .
/// This property is read-only.
///
public int NewSelectedIndex {
get {
return _newSelectedIndex;
}
set {
_newSelectedIndex = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Provides data for
/// the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class GridViewSelectEventArgs : CancelEventArgs {
private int _newSelectedIndex;
///
/// Initializes a new instance of the class.
///
public GridViewSelectEventArgs(int newSelectedIndex) {
this._newSelectedIndex = newSelectedIndex;
}
///
/// Gets the index of the selected row to be displayed in the .
/// This property is read-only.
///
public int NewSelectedIndex {
get {
return _newSelectedIndex;
}
set {
_newSelectedIndex = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LocationEnvironment.cs
- Bits.cs
- PeerContact.cs
- ZipIOExtraField.cs
- ToolStripPanelRow.cs
- TextSelection.cs
- ProviderSettings.cs
- SmtpNetworkElement.cs
- PolicyValidationException.cs
- DefaultMemberAttribute.cs
- WindowsListViewGroup.cs
- SubpageParagraph.cs
- VerticalAlignConverter.cs
- ActivitiesCollection.cs
- TypeSystem.cs
- LookupBindingPropertiesAttribute.cs
- XmlSerializerAssemblyAttribute.cs
- ValidationPropertyAttribute.cs
- XmlSerializerFormatAttribute.cs
- AnchoredBlock.cs
- DBSqlParser.cs
- MarkupCompilePass2.cs
- TaskResultSetter.cs
- LicenseContext.cs
- XmlSchemaSequence.cs
- GeneralTransform3D.cs
- ContractSearchPattern.cs
- Point3DCollection.cs
- XPathBinder.cs
- AttributeSetAction.cs
- FlagsAttribute.cs
- SqlTypeSystemProvider.cs
- Overlapped.cs
- SqlError.cs
- PageThemeBuildProvider.cs
- IList.cs
- OdbcPermission.cs
- ToolStripDropDownClosedEventArgs.cs
- CreateRefExpr.cs
- SrgsSubset.cs
- HandledEventArgs.cs
- LogPolicy.cs
- NumericUpDown.cs
- PropertyIDSet.cs
- WindowAutomationPeer.cs
- PropertyConverter.cs
- TransformCollection.cs
- InProcStateClientManager.cs
- WebBodyFormatMessageProperty.cs
- __Filters.cs
- Single.cs
- StructuredTypeInfo.cs
- PropertyGridView.cs
- DataBinder.cs
- PrinterUnitConvert.cs
- WindowsFormsHelpers.cs
- InkCanvasSelectionAdorner.cs
- PasswordRecovery.cs
- HostedElements.cs
- XmlSignatureProperties.cs
- InternalConfigRoot.cs
- MetafileEditor.cs
- ClientFormsIdentity.cs
- Point3DAnimation.cs
- CqlParserHelpers.cs
- SafeViewOfFileHandle.cs
- ElapsedEventArgs.cs
- CompatibleIComparer.cs
- XmlTextEncoder.cs
- CustomSignedXml.cs
- SemanticResultValue.cs
- WindowsGraphicsCacheManager.cs
- PageHandlerFactory.cs
- DynamicRendererThreadManager.cs
- HtmlFormParameterReader.cs
- TraceListeners.cs
- XmlSiteMapProvider.cs
- PixelFormat.cs
- _LocalDataStore.cs
- Matrix3DValueSerializer.cs
- DivideByZeroException.cs
- Deflater.cs
- RotateTransform3D.cs
- LinkUtilities.cs
- WpfMemberInvoker.cs
- PenThreadPool.cs
- InvariantComparer.cs
- ISAPIApplicationHost.cs
- FormViewUpdateEventArgs.cs
- TrackingAnnotationCollection.cs
- SizeFConverter.cs
- embossbitmapeffect.cs
- EventMappingSettings.cs
- RuleConditionDialog.Designer.cs
- WebPermission.cs
- PropVariant.cs
- DictionarySectionHandler.cs
- ConsoleTraceListener.cs
- SQLCharsStorage.cs
- IInstanceTable.cs