Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ListViewItemSelectionChangedEvent.cs / 1305376 / ListViewItemSelectionChangedEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.ComponentModel; ////// /// The event class that is created when the selection state of a ListViewItem is changed. /// public class ListViewItemSelectionChangedEventArgs : EventArgs { private ListViewItem item; private int itemIndex; private bool isSelected; ////// /// Constructs a ListViewItemSelectionChangedEventArgs object. /// public ListViewItemSelectionChangedEventArgs(ListViewItem item, int itemIndex, bool isSelected) { this.item = item; this.itemIndex = itemIndex; this.isSelected = isSelected; } ////// /// Return true if the item is selected /// public bool IsSelected { get { return this.isSelected; } } ////// /// The list view item whose selection changed /// public ListViewItem Item { get { return this.item; } } ////// /// The list view item's index /// public int ItemIndex { get { return this.itemIndex; } } } } // 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
- SocketSettings.cs
- DispatcherSynchronizationContext.cs
- DateTimeStorage.cs
- CompositeDispatchFormatter.cs
- TreeBuilder.cs
- ParameterEditorUserControl.cs
- JavascriptXmlWriterWrapper.cs
- ResourceAssociationSet.cs
- ClaimSet.cs
- TreeViewImageKeyConverter.cs
- GridViewRowEventArgs.cs
- XmlSchemaObjectTable.cs
- EdmValidator.cs
- BinaryUtilClasses.cs
- Request.cs
- MsmqIntegrationSecurityMode.cs
- FontUnit.cs
- AutomationElementIdentifiers.cs
- QilReplaceVisitor.cs
- PrintEvent.cs
- CodeCommentStatement.cs
- Symbol.cs
- EditorPartChrome.cs
- MatrixAnimationUsingPath.cs
- NonSerializedAttribute.cs
- MetadataArtifactLoader.cs
- _Connection.cs
- TableParagraph.cs
- CompositeCollection.cs
- Rules.cs
- TableProviderWrapper.cs
- DataObjectMethodAttribute.cs
- TextBoxRenderer.cs
- BitmapEffectCollection.cs
- InternalBufferOverflowException.cs
- HttpContextBase.cs
- InfiniteIntConverter.cs
- ToolBar.cs
- StaticDataManager.cs
- ImageFormatConverter.cs
- COM2EnumConverter.cs
- EmbeddedMailObjectsCollection.cs
- WebPartManager.cs
- TrimSurroundingWhitespaceAttribute.cs
- SpellerHighlightLayer.cs
- BridgeDataReader.cs
- TrackingRecord.cs
- XmlSchemaAnyAttribute.cs
- CompletionBookmark.cs
- HotSpotCollection.cs
- OneOfScalarConst.cs
- EnumMember.cs
- Completion.cs
- UserPreferenceChangingEventArgs.cs
- UnknownBitmapEncoder.cs
- CompoundFileStreamReference.cs
- CalendarDateRangeChangingEventArgs.cs
- ContainerUIElement3D.cs
- MetabaseServerConfig.cs
- CodeBlockBuilder.cs
- TextSchema.cs
- _SecureChannel.cs
- CellTreeSimplifier.cs
- XdrBuilder.cs
- WebPartDesigner.cs
- EntityDesignPluralizationHandler.cs
- ComboBoxAutomationPeer.cs
- Span.cs
- XDRSchema.cs
- ManagedWndProcTracker.cs
- WebConfigurationManager.cs
- XmlNode.cs
- NavigateEvent.cs
- DataControlImageButton.cs
- XmlWrappingReader.cs
- ListInitExpression.cs
- HwndSource.cs
- CompiledQuery.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ImageSource.cs
- CodeDelegateCreateExpression.cs
- ClientSideProviderDescription.cs
- KnownAssemblyEntry.cs
- ModelPropertyImpl.cs
- DynamicObjectAccessor.cs
- ComPlusAuthorization.cs
- ResXBuildProvider.cs
- AccessibleObject.cs
- HttpValueCollection.cs
- DBPropSet.cs
- XmlSortKeyAccumulator.cs
- DirtyTextRange.cs
- XmlExceptionHelper.cs
- ControlPropertyNameConverter.cs
- shaperfactory.cs
- SQLChars.cs
- oledbconnectionstring.cs
- OpenFileDialog.cs
- CompilationUtil.cs
- DefaultAssemblyResolver.cs