Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ListViewCancelEventArgs.cs
- MenuEventArgs.cs
- DbMetaDataColumnNames.cs
- DataGridViewCellMouseEventArgs.cs
- DictationGrammar.cs
- LinkedList.cs
- WebBrowsableAttribute.cs
- HtmlToClrEventProxy.cs
- MultipartContentParser.cs
- GridLength.cs
- XmlEncodedRawTextWriter.cs
- RequestQueryProcessor.cs
- DbReferenceCollection.cs
- ButtonFlatAdapter.cs
- CircleHotSpot.cs
- MemberAssignment.cs
- Attribute.cs
- Types.cs
- ReadonlyMessageFilter.cs
- EarlyBoundInfo.cs
- TypedTableGenerator.cs
- TypeContext.cs
- TrackingMemoryStream.cs
- ApplicationCommands.cs
- HttpResponseInternalWrapper.cs
- Helper.cs
- ApplicationException.cs
- LambdaCompiler.Binary.cs
- SqlCacheDependencySection.cs
- ConversionContext.cs
- XPathNode.cs
- DataGridColumnsPage.cs
- DefaultBindingPropertyAttribute.cs
- PageEventArgs.cs
- ColorPalette.cs
- CodeExporter.cs
- StorageSetMapping.cs
- CodeStatementCollection.cs
- ClientScriptItemCollection.cs
- CategoryState.cs
- TextAdaptor.cs
- Automation.cs
- TransportManager.cs
- OAVariantLib.cs
- CustomError.cs
- TextWriter.cs
- DbConnectionOptions.cs
- XPathEmptyIterator.cs
- NonBatchDirectoryCompiler.cs
- Vector3DIndependentAnimationStorage.cs
- ErrorReporting.cs
- UrlAuthFailedErrorFormatter.cs
- TextureBrush.cs
- ReadOnlyCollectionBase.cs
- String.cs
- PerformanceCounterLib.cs
- WeakReferenceEnumerator.cs
- TextDocumentView.cs
- DataGridSortCommandEventArgs.cs
- NoPersistScope.cs
- CharUnicodeInfo.cs
- CounterSetInstanceCounterDataSet.cs
- StateMachine.cs
- _ContextAwareResult.cs
- DataProtection.cs
- FixedElement.cs
- FontInfo.cs
- NamespaceQuery.cs
- SystemIPInterfaceProperties.cs
- X509PeerCertificateAuthenticationElement.cs
- ReaderOutput.cs
- DbParameterCollectionHelper.cs
- IdentityHolder.cs
- NavigationService.cs
- DynamicPropertyReader.cs
- XmlSchemaAttributeGroupRef.cs
- TextCharacters.cs
- LiteralControl.cs
- KnownIds.cs
- SqlGenerator.cs
- AutomationIdentifierGuids.cs
- FileVersion.cs
- PackWebRequestFactory.cs
- HttpCacheParams.cs
- DropShadowEffect.cs
- TextCollapsingProperties.cs
- MediaTimeline.cs
- ImageMap.cs
- NCryptSafeHandles.cs
- ImportContext.cs
- Dynamic.cs
- HierarchicalDataTemplate.cs
- HtmlElement.cs
- HttpStreamMessage.cs
- VersionedStream.cs
- cookiecollection.cs
- PrintPageEvent.cs
- Imaging.cs
- HttpAsyncResult.cs
- ItemTypeToolStripMenuItem.cs