Code:
/ FX-1434 / FX-1434 / 1.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
- X509ThumbprintKeyIdentifierClause.cs
- TransactionScope.cs
- DefaultSection.cs
- CompilerError.cs
- KerberosSecurityTokenAuthenticator.cs
- SimpleRecyclingCache.cs
- PiiTraceSource.cs
- TextBounds.cs
- ExpressionTextBoxAutomationPeer.cs
- ReadContentAsBinaryHelper.cs
- HistoryEventArgs.cs
- MailBnfHelper.cs
- OrderedDictionaryStateHelper.cs
- PhonemeEventArgs.cs
- ObjectConverter.cs
- ToolStripEditorManager.cs
- XsltContext.cs
- TextBoxBase.cs
- XmlnsDictionary.cs
- DetailsViewCommandEventArgs.cs
- SignedXml.cs
- ApplicationServiceManager.cs
- TabPage.cs
- XmlDocumentType.cs
- ValidationErrorEventArgs.cs
- CodeCastExpression.cs
- Timer.cs
- KeyGestureValueSerializer.cs
- JournalEntryListConverter.cs
- ArgumentException.cs
- Int16KeyFrameCollection.cs
- XmlEntityReference.cs
- XmlSchemaDocumentation.cs
- CheckBoxDesigner.cs
- XslAst.cs
- InArgument.cs
- ToolboxCategoryItems.cs
- DriveInfo.cs
- WebHttpSecurityModeHelper.cs
- ScriptHandlerFactory.cs
- LinkClickEvent.cs
- StatusBar.cs
- LocalizationComments.cs
- SortedSet.cs
- ProviderBase.cs
- KeyTime.cs
- HebrewCalendar.cs
- TreeNodeStyleCollection.cs
- Geometry.cs
- RuntimeIdentifierPropertyAttribute.cs
- ValidationSummary.cs
- XPSSignatureDefinition.cs
- WorkflowClientDeliverMessageWrapper.cs
- MetabaseSettings.cs
- MultiAsyncResult.cs
- Camera.cs
- dbdatarecord.cs
- IncrementalHitTester.cs
- ConfigurationPropertyAttribute.cs
- CheckBoxFlatAdapter.cs
- ValidatorCompatibilityHelper.cs
- MemoryResponseElement.cs
- TextRangeSerialization.cs
- SourceFileInfo.cs
- SqlCacheDependencySection.cs
- QuaternionConverter.cs
- Matrix.cs
- SequenceDesignerAccessibleObject.cs
- DynamicValueConverter.cs
- MenuBindingsEditor.cs
- SrgsDocumentParser.cs
- DetailsViewDeletedEventArgs.cs
- MDIControlStrip.cs
- PropertyChange.cs
- SecurityContextTokenValidationException.cs
- UserPersonalizationStateInfo.cs
- DataService.cs
- ShellProvider.cs
- CharAnimationUsingKeyFrames.cs
- SemanticResultKey.cs
- ForEachAction.cs
- DomNameTable.cs
- SimpleLine.cs
- DBSchemaRow.cs
- StateMachineSubscription.cs
- BaseProcessProtocolHandler.cs
- QueryPageSettingsEventArgs.cs
- SerialPort.cs
- AmbientLight.cs
- SqlInternalConnectionSmi.cs
- MessageBox.cs
- EntityTypeBase.cs
- XPathNodeIterator.cs
- PrintDocument.cs
- ReferenceConverter.cs
- ImageListStreamer.cs
- TargetParameterCountException.cs
- CompressStream.cs
- XmlSchemaSimpleType.cs
- ConfigXmlElement.cs