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
- PropertyDescriptorCollection.cs
- ObjectDisposedException.cs
- WebPartManager.cs
- HoistedLocals.cs
- Function.cs
- PermissionSet.cs
- TrustManagerPromptUI.cs
- HtmlGenericControl.cs
- ZipIOFileItemStream.cs
- ModelTreeEnumerator.cs
- ProxySimple.cs
- ConvertersCollection.cs
- CapabilitiesAssignment.cs
- StylusEventArgs.cs
- BinaryWriter.cs
- DrawListViewColumnHeaderEventArgs.cs
- NullRuntimeConfig.cs
- WebPartTransformer.cs
- ScrollPattern.cs
- DiscoveryReference.cs
- ObjectDataSourceMethodEventArgs.cs
- ObjRef.cs
- DynamicDataExtensions.cs
- TreeNodeConverter.cs
- ExclusiveCanonicalizationTransform.cs
- XslNumber.cs
- IdleTimeoutMonitor.cs
- SuppressMessageAttribute.cs
- ToggleButtonAutomationPeer.cs
- XmlChoiceIdentifierAttribute.cs
- Int32.cs
- mediaeventargs.cs
- ProfilePropertySettingsCollection.cs
- SelectedGridItemChangedEvent.cs
- DataGridViewCellCollection.cs
- MinMaxParagraphWidth.cs
- TransformProviderWrapper.cs
- Array.cs
- RegexMatch.cs
- RegionIterator.cs
- VersionPair.cs
- EditCommandColumn.cs
- ManipulationDeltaEventArgs.cs
- EntryPointNotFoundException.cs
- AnnotationHelper.cs
- DispatchWrapper.cs
- RemoteCryptoDecryptRequest.cs
- NativeMethods.cs
- WinEventTracker.cs
- SQLCharsStorage.cs
- CFGGrammar.cs
- CatalogPartChrome.cs
- InfoCardX509Validator.cs
- SortDescription.cs
- SatelliteContractVersionAttribute.cs
- OneWayChannelListener.cs
- FormsAuthenticationModule.cs
- HtmlMeta.cs
- ExeContext.cs
- GeneralTransformCollection.cs
- AttachedPropertyDescriptor.cs
- BypassElementCollection.cs
- DefaultPrintController.cs
- ContentValidator.cs
- HtmlTitle.cs
- TextContainer.cs
- AnimationClockResource.cs
- TerminatorSinks.cs
- ParallelTimeline.cs
- VariantWrapper.cs
- AssociationProvider.cs
- ElementHostPropertyMap.cs
- Geometry.cs
- ComponentEditorPage.cs
- RbTree.cs
- TextTreeInsertElementUndoUnit.cs
- OdbcHandle.cs
- StringToken.cs
- WaitHandle.cs
- DocumentSchemaValidator.cs
- WinFormsUtils.cs
- MessageDispatch.cs
- WindowsListViewGroupHelper.cs
- NegotiateStream.cs
- CompModSwitches.cs
- BasicExpandProvider.cs
- Clock.cs
- CachedFontFace.cs
- documentsequencetextview.cs
- ObjectListCommandEventArgs.cs
- _SslStream.cs
- FontFamily.cs
- ConfigXmlWhitespace.cs
- RayMeshGeometry3DHitTestResult.cs
- TextTreeExtractElementUndoUnit.cs
- Stack.cs
- XmlDataProvider.cs
- GridView.cs
- sqlser.cs
- ExpressionConverter.cs