Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewSelectEventArgs.cs / 1 / ListViewSelectEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
using System.Collections.Specialized;
using System.ComponentModel;
namespace System.Web.UI.WebControls {
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ListViewSelectEventArgs : CancelEventArgs {
private int _newSelectedIndex;
public ListViewSelectEventArgs(int newSelectedIndex) : base(false) {
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.
//
//-----------------------------------------------------------------------------
using System;
using System.Collections.Specialized;
using System.ComponentModel;
namespace System.Web.UI.WebControls {
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ListViewSelectEventArgs : CancelEventArgs {
private int _newSelectedIndex;
public ListViewSelectEventArgs(int newSelectedIndex) : base(false) {
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
- TextDpi.cs
- PeerNameRegistration.cs
- ProfileProvider.cs
- LinqMaximalSubtreeNominator.cs
- DataServiceRequest.cs
- LinkButton.cs
- PopOutPanel.cs
- HashMembershipCondition.cs
- DeleteMemberBinder.cs
- EntitySetRetriever.cs
- ResourceReader.cs
- PageTheme.cs
- FirstMatchCodeGroup.cs
- ColumnClickEvent.cs
- CommonObjectSecurity.cs
- TakeOrSkipQueryOperator.cs
- DispatcherExceptionFilterEventArgs.cs
- TablePatternIdentifiers.cs
- ContextStaticAttribute.cs
- InheritanceContextHelper.cs
- PnrpPermission.cs
- RTLAwareMessageBox.cs
- SecUtil.cs
- RelationshipSet.cs
- GAC.cs
- _NestedSingleAsyncResult.cs
- TabletDevice.cs
- Emitter.cs
- MimeXmlReflector.cs
- HtmlTableRow.cs
- Validator.cs
- UserInitiatedRoutedEventPermission.cs
- EntityAdapter.cs
- ToolStripInSituService.cs
- CryptoApi.cs
- SaveFileDialogDesigner.cs
- ISO2022Encoding.cs
- RenamedEventArgs.cs
- HttpHandler.cs
- NumericUpDownAccelerationCollection.cs
- EndOfStreamException.cs
- SizeFConverter.cs
- SQLBinaryStorage.cs
- InternalTypeHelper.cs
- CodePageEncoding.cs
- TextEditorSelection.cs
- CodeTypeReferenceSerializer.cs
- NativeRightsManagementAPIsStructures.cs
- SubMenuStyleCollectionEditor.cs
- NumericExpr.cs
- ObjectDataSourceMethodEventArgs.cs
- ConfigurationUtility.cs
- ToolStripComboBox.cs
- MenuCommands.cs
- HttpCacheVary.cs
- XmlSchemaProviderAttribute.cs
- PageWrapper.cs
- ProtocolsSection.cs
- Int16Storage.cs
- ComponentChangingEvent.cs
- Assembly.cs
- Compress.cs
- PrinterResolution.cs
- ExtensionSimplifierMarkupObject.cs
- backend.cs
- InputGestureCollection.cs
- Enum.cs
- MyContact.cs
- coordinatorscratchpad.cs
- remotingproxy.cs
- WithParamAction.cs
- TraceSection.cs
- ConfigurationSchemaErrors.cs
- arclist.cs
- ExpressionContext.cs
- GradientStop.cs
- ServiceModelExtensionElement.cs
- DataStorage.cs
- UnicodeEncoding.cs
- RSAPKCS1SignatureFormatter.cs
- ObjectQueryExecutionPlan.cs
- SoapReflectionImporter.cs
- ControlPropertyNameConverter.cs
- CodeGen.cs
- PlaceHolder.cs
- AppSecurityManager.cs
- CharUnicodeInfo.cs
- SectionRecord.cs
- EntityContainerRelationshipSet.cs
- CompositeFontInfo.cs
- WeakEventTable.cs
- VScrollBar.cs
- Menu.cs
- DeclarativeCatalogPart.cs
- _SingleItemRequestCache.cs
- ExpressionConverter.cs
- DoubleLink.cs
- WebPartAuthorizationEventArgs.cs
- SqlConnectionStringBuilder.cs
- PngBitmapEncoder.cs