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
- ExcCanonicalXml.cs
- SoundPlayer.cs
- AgileSafeNativeMemoryHandle.cs
- Converter.cs
- ListBindableAttribute.cs
- Serializer.cs
- TrailingSpaceComparer.cs
- TypeUtil.cs
- WindowsImpersonationContext.cs
- cookie.cs
- UserPreferenceChangedEventArgs.cs
- EntityConnection.cs
- VerificationAttribute.cs
- PenThread.cs
- GenericEnumConverter.cs
- ContainerParagraph.cs
- PropertiesTab.cs
- TextBox.cs
- PasswordPropertyTextAttribute.cs
- ControlAdapter.cs
- FillBehavior.cs
- CroppedBitmap.cs
- HostUtils.cs
- PageHandlerFactory.cs
- ReadOnlyAttribute.cs
- ParameterToken.cs
- BitVector32.cs
- xamlnodes.cs
- RegexRunnerFactory.cs
- ToolStripGripRenderEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- StringComparer.cs
- ObjectQuery.cs
- DataChangedEventManager.cs
- SelectionEditingBehavior.cs
- UniqueEventHelper.cs
- QuaternionAnimationBase.cs
- SimpleApplicationHost.cs
- XmlSchemaInferenceException.cs
- RequestStatusBarUpdateEventArgs.cs
- BindableAttribute.cs
- MenuTracker.cs
- WebFormDesignerActionService.cs
- _ProxyChain.cs
- CultureSpecificStringDictionary.cs
- QueueProcessor.cs
- EpmSyndicationContentDeSerializer.cs
- itemelement.cs
- TreeIterator.cs
- SslStream.cs
- _NegoState.cs
- ObjectPropertyMapping.cs
- AutoCompleteStringCollection.cs
- GridViewCancelEditEventArgs.cs
- TypedDatasetGenerator.cs
- PackWebResponse.cs
- XPathNode.cs
- Config.cs
- CfgParser.cs
- SafeFindHandle.cs
- RegexCode.cs
- Switch.cs
- HuffModule.cs
- SoundPlayer.cs
- UserPersonalizationStateInfo.cs
- SiteMapHierarchicalDataSourceView.cs
- FormParameter.cs
- Camera.cs
- Menu.cs
- LogExtentCollection.cs
- EventManager.cs
- EncryptedXml.cs
- TableHeaderCell.cs
- AttachedPropertyMethodSelector.cs
- LookupTables.cs
- CompilerLocalReference.cs
- Attributes.cs
- CodeConditionStatement.cs
- ScriptControl.cs
- Tokenizer.cs
- NavigateUrlConverter.cs
- ConfigurationValue.cs
- SharedPerformanceCounter.cs
- ValidationEventArgs.cs
- PropertyRecord.cs
- SqlDataRecord.cs
- TypefaceMetricsCache.cs
- XmlException.cs
- DeclarationUpdate.cs
- ClientSettings.cs
- XmlEncoding.cs
- CompoundFileStreamReference.cs
- GlyphTypeface.cs
- _LocalDataStoreMgr.cs
- Font.cs
- FixedPageStructure.cs
- DropShadowBitmapEffect.cs
- PageThemeParser.cs
- TemplateXamlParser.cs
- SecurityElement.cs