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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompositeScriptReferenceEventArgs.cs
- TableItemProviderWrapper.cs
- CalendarDateChangedEventArgs.cs
- GuidConverter.cs
- Expander.cs
- ToolBarPanel.cs
- InputMethodStateChangeEventArgs.cs
- DiscoveryExceptionDictionary.cs
- DoubleStorage.cs
- DefaultHttpHandler.cs
- SafeThreadHandle.cs
- QueryTask.cs
- ObjectComplexPropertyMapping.cs
- NamedPipeChannelFactory.cs
- ConfigurationSectionGroupCollection.cs
- FixedPageAutomationPeer.cs
- TokenizerHelper.cs
- ToolStripContainerActionList.cs
- SafeEventLogWriteHandle.cs
- Vector3D.cs
- DataTableClearEvent.cs
- PathSegmentCollection.cs
- ReadOnlyCollectionBase.cs
- ImageFormat.cs
- ScrollChrome.cs
- DiscreteKeyFrames.cs
- ClosableStream.cs
- SiteOfOriginPart.cs
- BitmapEffectvisualstate.cs
- Dump.cs
- cookiecollection.cs
- ChannelBinding.cs
- MenuAdapter.cs
- ImageKeyConverter.cs
- SqlInternalConnectionTds.cs
- DefaultSection.cs
- Sentence.cs
- OdbcReferenceCollection.cs
- PathParser.cs
- BaseParser.cs
- HttpServerUtilityBase.cs
- SingleBodyParameterMessageFormatter.cs
- ValidationRule.cs
- WebZone.cs
- Route.cs
- WebPartZone.cs
- AudioStateChangedEventArgs.cs
- ChannelBinding.cs
- ColumnProvider.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- BrowserTree.cs
- Avt.cs
- ArithmeticException.cs
- DataGridViewHitTestInfo.cs
- ValueHandle.cs
- Point3DCollection.cs
- NetworkStream.cs
- BackStopAuthenticationModule.cs
- WebHttpSecurity.cs
- _ListenerRequestStream.cs
- MarkupWriter.cs
- DescendentsWalkerBase.cs
- WebPartMinimizeVerb.cs
- WindowsMenu.cs
- XamlNamespaceHelper.cs
- PassportAuthenticationEventArgs.cs
- GenericUriParser.cs
- MetadataUtilsSmi.cs
- ContextStaticAttribute.cs
- PageParserFilter.cs
- InfoCardTraceRecord.cs
- DefaultCommandConverter.cs
- NotImplementedException.cs
- MetadataPropertyvalue.cs
- CodeConditionStatement.cs
- DBSchemaRow.cs
- unsafenativemethodstextservices.cs
- DateTimeFormat.cs
- UnknownWrapper.cs
- PointCollection.cs
- JapaneseLunisolarCalendar.cs
- IntSecurity.cs
- MustUnderstandSoapException.cs
- RawStylusActions.cs
- BitStream.cs
- HwndSubclass.cs
- ByteFacetDescriptionElement.cs
- XmlEncApr2001.cs
- UriSection.cs
- _NetworkingPerfCounters.cs
- SystemGatewayIPAddressInformation.cs
- Helpers.cs
- securestring.cs
- NamedObject.cs
- CellParaClient.cs
- MouseActionConverter.cs
- GlyphRun.cs
- Size3DValueSerializer.cs
- WebRequestModuleElement.cs
- ManagedWndProcTracker.cs