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
- RijndaelManaged.cs
- DynamicMethod.cs
- Assembly.cs
- SecurityKeyUsage.cs
- XmlSerializableServices.cs
- XpsDocument.cs
- MSAAEventDispatcher.cs
- DataSource.cs
- PageScaling.cs
- ObjectDataSourceStatusEventArgs.cs
- SimpleBitVector32.cs
- DataGridViewColumnCollection.cs
- XmlReader.cs
- TemplatePartAttribute.cs
- ContainerFilterService.cs
- HitTestParameters3D.cs
- MatrixIndependentAnimationStorage.cs
- ServiceTimeoutsElement.cs
- ErrorsHelper.cs
- StylusEventArgs.cs
- RestrictedTransactionalPackage.cs
- MailMessageEventArgs.cs
- CatalogZoneBase.cs
- TrackBarRenderer.cs
- FragmentQueryProcessor.cs
- BaseUriHelper.cs
- ProxyAssemblyNotLoadedException.cs
- CheckBoxDesigner.cs
- Cloud.cs
- BuildProviderCollection.cs
- AccessorTable.cs
- EntityProviderServices.cs
- DocumentGridPage.cs
- XmlAttributeCache.cs
- RuleDefinitions.cs
- SqlDataSourceDesigner.cs
- MSHTMLHost.cs
- Model3D.cs
- AppDomainResourcePerfCounters.cs
- AutomationAttributeInfo.cs
- Rotation3DKeyFrameCollection.cs
- MonikerUtility.cs
- BitmapPalettes.cs
- DataGridColumnHeaderCollection.cs
- CapacityStreamGeometryContext.cs
- SoapWriter.cs
- Polygon.cs
- ArrayHelper.cs
- ModuleConfigurationInfo.cs
- ListViewItem.cs
- DataGridViewImageColumn.cs
- CustomError.cs
- __ComObject.cs
- Expression.cs
- Size3DConverter.cs
- CodeDefaultValueExpression.cs
- FileNameEditor.cs
- ListControl.cs
- UIElementCollection.cs
- PageTheme.cs
- Header.cs
- ListViewDataItem.cs
- UInt64Converter.cs
- ListParaClient.cs
- Token.cs
- XamlTemplateSerializer.cs
- ConfigXmlCDataSection.cs
- DataList.cs
- WithStatement.cs
- GlobalEventManager.cs
- WCFServiceClientProxyGenerator.cs
- HttpWebResponse.cs
- RepeatInfo.cs
- Helpers.cs
- DataBoundControl.cs
- Annotation.cs
- Util.cs
- DataGridViewCellPaintingEventArgs.cs
- PointAnimationBase.cs
- CompareInfo.cs
- XamlParser.cs
- RTLAwareMessageBox.cs
- XamlToRtfWriter.cs
- LassoHelper.cs
- IdentifierCreationService.cs
- InstanceHandleConflictException.cs
- MsmqIntegrationChannelListener.cs
- RevocationPoint.cs
- CodeObjectCreateExpression.cs
- HWStack.cs
- JournalEntryStack.cs
- IndexingContentUnit.cs
- XmlSchemaSimpleContent.cs
- SourceSwitch.cs
- ProfileManager.cs
- DaylightTime.cs
- XmlUnspecifiedAttribute.cs
- HtmlTableRowCollection.cs
- XslTransform.cs
- StylusPoint.cs