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
- MultilineStringConverter.cs
- UnsafeNativeMethods.cs
- MgmtConfigurationRecord.cs
- FieldNameLookup.cs
- ActivityBindForm.cs
- ConfigurationStrings.cs
- ClearTypeHintValidation.cs
- WindowsPen.cs
- PropertySegmentSerializer.cs
- VectorCollectionValueSerializer.cs
- WebBrowserPermission.cs
- CustomAssemblyResolver.cs
- MultiSelectRootGridEntry.cs
- SoapSchemaImporter.cs
- ToolStripComboBox.cs
- _TLSstream.cs
- SqlDataSourceCommandEventArgs.cs
- LowerCaseStringConverter.cs
- FileDialogPermission.cs
- MenuItem.cs
- TextTreeFixupNode.cs
- Encoder.cs
- DesignTimeType.cs
- SmtpSection.cs
- TypeLibConverter.cs
- CharEnumerator.cs
- EditorZone.cs
- SmiEventSink_Default.cs
- RemotingServices.cs
- DWriteFactory.cs
- HtmlTitle.cs
- UnsafeNativeMethods.cs
- SQLStringStorage.cs
- GeneralTransformGroup.cs
- GridViewRowPresenterBase.cs
- ClientRuntimeConfig.cs
- IImplicitResourceProvider.cs
- TreeNodeBindingDepthConverter.cs
- FixedTextBuilder.cs
- XappLauncher.cs
- DataGridViewCellCancelEventArgs.cs
- XamlBrushSerializer.cs
- EasingKeyFrames.cs
- ResponseBodyWriter.cs
- mil_sdk_version.cs
- XmlSchemaObjectCollection.cs
- DictionaryMarkupSerializer.cs
- ConfigurationElementProperty.cs
- WizardStepBase.cs
- ConfigUtil.cs
- UInt32Storage.cs
- LifetimeServices.cs
- HScrollBar.cs
- WebOperationContext.cs
- Asn1IntegerConverter.cs
- RpcCryptoContext.cs
- TextContainerHelper.cs
- ColumnCollection.cs
- UriSectionData.cs
- SimpleApplicationHost.cs
- ImpersonationContext.cs
- SiteMembershipCondition.cs
- User.cs
- ObjectContextServiceProvider.cs
- SoapHelper.cs
- _ListenerResponseStream.cs
- FormViewUpdateEventArgs.cs
- HMAC.cs
- PropertyMappingExceptionEventArgs.cs
- CatalogZoneBase.cs
- Operand.cs
- Roles.cs
- AnimationException.cs
- DateTimeStorage.cs
- DateTimeSerializationSection.cs
- DataGridView.cs
- XmlSerializableReader.cs
- SystemPens.cs
- HttpListener.cs
- LabelExpression.cs
- IndexingContentUnit.cs
- ECDsa.cs
- X509Certificate2Collection.cs
- EndpointAddressProcessor.cs
- DataFormat.cs
- ProtectedUri.cs
- VScrollProperties.cs
- UnwrappedTypesXmlSerializerManager.cs
- ValidationPropertyAttribute.cs
- SubtreeProcessor.cs
- DefaultParameterValueAttribute.cs
- FunctionNode.cs
- ImageList.cs
- ListItem.cs
- XmlQualifiedNameTest.cs
- DesignerProperties.cs
- ParameterSubsegment.cs
- TypefaceMap.cs
- IntMinMaxAggregationOperator.cs
- PropertyMappingExceptionEventArgs.cs