Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ListViewItemSelectionChangedEvent.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TaskDesigner.cs
- HttpListenerResponse.cs
- Privilege.cs
- xml.cs
- VectorCollectionConverter.cs
- UrlMapping.cs
- COM2Properties.cs
- UpdateTranslator.cs
- __Error.cs
- isolationinterop.cs
- Matrix3DStack.cs
- ExpressionTextBox.xaml.cs
- CacheRequest.cs
- LoginView.cs
- RegexCompilationInfo.cs
- COM2ColorConverter.cs
- FontStretches.cs
- IndexedGlyphRun.cs
- AnimationTimeline.cs
- ListViewCancelEventArgs.cs
- MemberInfoSerializationHolder.cs
- Point4DConverter.cs
- CodeFieldReferenceExpression.cs
- ToolStripItemEventArgs.cs
- TreeNodeClickEventArgs.cs
- JournalEntryStack.cs
- DefaultHttpHandler.cs
- SourceFileBuildProvider.cs
- ZipIOCentralDirectoryBlock.cs
- SmiEventSink_Default.cs
- SecurityUtils.cs
- XmlSchemaType.cs
- Stack.cs
- TokenizerHelper.cs
- WindowsBrush.cs
- SafeMILHandle.cs
- ColorTransformHelper.cs
- URLMembershipCondition.cs
- Operator.cs
- GlobalizationAssembly.cs
- Int64AnimationBase.cs
- UrlPath.cs
- ResourceManager.cs
- OracleTimeSpan.cs
- XmlWriterTraceListener.cs
- TraceHandler.cs
- TabControlAutomationPeer.cs
- PointCollectionConverter.cs
- DropSource.cs
- securestring.cs
- XmlSchemaDocumentation.cs
- EventlogProvider.cs
- SiteMapNodeItemEventArgs.cs
- KoreanLunisolarCalendar.cs
- CommandEventArgs.cs
- Variable.cs
- SecurityAttributeGenerationHelper.cs
- XmlSchemaAny.cs
- XmlEncodedRawTextWriter.cs
- BitmapSource.cs
- WhileDesigner.xaml.cs
- TextFormatterContext.cs
- SelectionItemPatternIdentifiers.cs
- SystemUdpStatistics.cs
- CommentEmitter.cs
- SamlConstants.cs
- HitTestParameters.cs
- BmpBitmapEncoder.cs
- ActivityInstance.cs
- DataGridItemCollection.cs
- RefreshPropertiesAttribute.cs
- SqlUserDefinedTypeAttribute.cs
- JsonByteArrayDataContract.cs
- AudioFormatConverter.cs
- RadioButtonAutomationPeer.cs
- DockProviderWrapper.cs
- PropertyDescriptorComparer.cs
- MachineKeyConverter.cs
- BreakRecordTable.cs
- GridViewRowEventArgs.cs
- GraphicsPathIterator.cs
- XmlSchemaInferenceException.cs
- AddressHeader.cs
- AppSettingsSection.cs
- WebZone.cs
- Int32Animation.cs
- DataSourceCache.cs
- ServicePoint.cs
- ClusterRegistryConfigurationProvider.cs
- InputReportEventArgs.cs
- Grant.cs
- Invariant.cs
- TdsValueSetter.cs
- WebPartCollection.cs
- DbCommandTree.cs
- JapaneseLunisolarCalendar.cs
- CacheMode.cs
- Message.cs
- MasterPageBuildProvider.cs
- Model3DGroup.cs