Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ListViewItemSelectionChangedEvent.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Hash.cs
- Annotation.cs
- InputLanguageEventArgs.cs
- SymbolMethod.cs
- AutomationProperty.cs
- TextTreeInsertUndoUnit.cs
- HttpCachePolicy.cs
- HttpEncoder.cs
- DependencyPropertyChangedEventArgs.cs
- CustomErrorsSection.cs
- DesignerWebPartChrome.cs
- CSharpCodeProvider.cs
- RepeaterCommandEventArgs.cs
- TextParaClient.cs
- ContentFileHelper.cs
- TimerElapsedEvenArgs.cs
- ArgumentDirectionHelper.cs
- JoinSymbol.cs
- BaseParser.cs
- FigureParaClient.cs
- HighlightOverlayGlyph.cs
- Substitution.cs
- GeometryGroup.cs
- SHA1CryptoServiceProvider.cs
- ToolStripOverflowButton.cs
- CssClassPropertyAttribute.cs
- ConfigErrorGlyph.cs
- DesignerCategoryAttribute.cs
- Stacktrace.cs
- ColorBlend.cs
- CategoriesDocumentFormatter.cs
- SystemIPv6InterfaceProperties.cs
- CodeMemberField.cs
- DefaultAssemblyResolver.cs
- ContainerUtilities.cs
- NavigatingCancelEventArgs.cs
- COM2PictureConverter.cs
- CancelRequestedRecord.cs
- TextEffectCollection.cs
- Encoding.cs
- StoreContentChangedEventArgs.cs
- DataGridViewLinkColumn.cs
- ListViewCommandEventArgs.cs
- CodeSpit.cs
- DecimalKeyFrameCollection.cs
- ToolStripTextBox.cs
- Debugger.cs
- SerializationHelper.cs
- BufferedOutputStream.cs
- AssemblyResourceLoader.cs
- GeneralTransformGroup.cs
- BindingsCollection.cs
- AnnouncementEventArgs.cs
- WebException.cs
- CompoundFileStreamReference.cs
- StandardOleMarshalObject.cs
- XmlSchemaAny.cs
- WindowsRegion.cs
- SendMailErrorEventArgs.cs
- ListBindingHelper.cs
- PromptStyle.cs
- PhysicalAddress.cs
- ReachPageContentSerializerAsync.cs
- TypeUsage.cs
- CompilationUtil.cs
- CheckBoxList.cs
- ZoneLinkButton.cs
- FileSystemEventArgs.cs
- Attributes.cs
- TreeViewItemAutomationPeer.cs
- DataObjectEventArgs.cs
- SiteMapPath.cs
- UnsafeNativeMethods.cs
- WorkflowRuntimeServiceElement.cs
- MimeParameter.cs
- QueryOperator.cs
- ContentValidator.cs
- ArgumentsParser.cs
- EntityDataSource.cs
- SystemInfo.cs
- ComponentChangingEvent.cs
- MultipleViewProviderWrapper.cs
- MaterialGroup.cs
- JsonDeserializer.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- PersistenceProviderFactory.cs
- ToReply.cs
- ValidationManager.cs
- Rotation3DAnimation.cs
- GridViewCommandEventArgs.cs
- ListMarkerLine.cs
- UIAgentAsyncParams.cs
- OracleInfoMessageEventArgs.cs
- StatusBarPanel.cs
- ModifierKeysConverter.cs
- InvalidAsynchronousStateException.cs
- ObjectToken.cs
- FlowDocument.cs
- ViewSimplifier.cs
- TextCharacters.cs