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
- InfiniteIntConverter.cs
- User.cs
- MethodResolver.cs
- NameScopePropertyAttribute.cs
- BufferedReadStream.cs
- FontFaceLayoutInfo.cs
- TraversalRequest.cs
- StylusPointPropertyUnit.cs
- Activity.cs
- FixedTextContainer.cs
- DataMember.cs
- InternalCache.cs
- WhiteSpaceTrimStringConverter.cs
- SubstitutionList.cs
- MessageFormatterConverter.cs
- Color.cs
- HMACSHA384.cs
- _OverlappedAsyncResult.cs
- MdImport.cs
- Propagator.Evaluator.cs
- EntityDataSourceViewSchema.cs
- XamlTypeMapperSchemaContext.cs
- ExpressionTextBox.xaml.cs
- ServiceTimeoutsElement.cs
- DbInsertCommandTree.cs
- DoWhileDesigner.xaml.cs
- ThemeDirectoryCompiler.cs
- RegistrationServices.cs
- EmbeddedMailObject.cs
- Size3D.cs
- BindingCollectionElement.cs
- SafeThemeHandle.cs
- Variable.cs
- ExpressionDumper.cs
- ItemCheckedEvent.cs
- ToggleButtonAutomationPeer.cs
- TdsParameterSetter.cs
- FontDifferentiator.cs
- WizardPanelChangingEventArgs.cs
- ButtonBaseAdapter.cs
- PeerName.cs
- ProjectedSlot.cs
- DataGrid.cs
- ErrorHandler.cs
- OperatingSystem.cs
- CheckBoxField.cs
- PreApplicationStartMethodAttribute.cs
- TerminatorSinks.cs
- PresentationAppDomainManager.cs
- Crc32Helper.cs
- TcpProcessProtocolHandler.cs
- HuffmanTree.cs
- PingReply.cs
- HelpKeywordAttribute.cs
- ConnectionsZone.cs
- TypeSemantics.cs
- NotifyIcon.cs
- ListBoxItem.cs
- VectorValueSerializer.cs
- MenuCommand.cs
- TakeOrSkipWhileQueryOperator.cs
- LayoutSettings.cs
- ImageDrawing.cs
- ClientOptions.cs
- CharacterMetrics.cs
- HeaderCollection.cs
- MsmqIntegrationChannelListener.cs
- TraceHandler.cs
- FastEncoder.cs
- EmbeddedMailObjectsCollection.cs
- OdbcConnectionStringbuilder.cs
- GestureRecognitionResult.cs
- ProviderSettingsCollection.cs
- EventLogRecord.cs
- PageThemeParser.cs
- CompilerCollection.cs
- PartialCachingControl.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DesignTableCollection.cs
- MemoryFailPoint.cs
- ClientType.cs
- PropertyDescriptors.cs
- SizeChangedInfo.cs
- FontUnit.cs
- XmlReader.cs
- DelegatedStream.cs
- ObjectComplexPropertyMapping.cs
- iisPickupDirectory.cs
- ModelItemKeyValuePair.cs
- DbCommandTree.cs
- MemberHolder.cs
- EmptyEnumerable.cs
- EntityParameterCollection.cs
- UserControl.cs
- SmtpException.cs
- DateTimeUtil.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- QualificationDataAttribute.cs
- StreamWithDictionary.cs
- DefaultPrintController.cs