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
- ApplicationHost.cs
- unsafeIndexingFilterStream.cs
- TextElementEnumerator.cs
- RtType.cs
- OdbcError.cs
- HitTestResult.cs
- RadioButton.cs
- TablePattern.cs
- SafeRightsManagementSessionHandle.cs
- TimerEventSubscription.cs
- SymLanguageVendor.cs
- ContentType.cs
- XslAst.cs
- ProfileSettingsCollection.cs
- CodeExporter.cs
- TableSectionStyle.cs
- AnchoredBlock.cs
- CharacterShapingProperties.cs
- ComponentDispatcher.cs
- BinaryReader.cs
- AsyncDataRequest.cs
- AutomationEvent.cs
- BasicBrowserDialog.cs
- BamlRecordWriter.cs
- ExpressionBindingCollection.cs
- DependencyObjectPropertyDescriptor.cs
- ObjectDesignerDataSourceView.cs
- DependencyPropertyDescriptor.cs
- CodeRegionDirective.cs
- XamlStream.cs
- SqlCachedBuffer.cs
- ReadWriteObjectLock.cs
- ReferenceEqualityComparer.cs
- XmlDataDocument.cs
- SharedUtils.cs
- ByteStreamMessageEncoderFactory.cs
- _UncName.cs
- SchemaEntity.cs
- VisualStyleElement.cs
- SequenceFullException.cs
- InputScopeConverter.cs
- DefaultBindingPropertyAttribute.cs
- ExceptionUtil.cs
- PathData.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- LayoutManager.cs
- Qualifier.cs
- SqlDataSourceCommandEventArgs.cs
- KeyPressEvent.cs
- ReferencedCollectionType.cs
- DivideByZeroException.cs
- RoutedPropertyChangedEventArgs.cs
- PeerApplication.cs
- WriteableOnDemandStream.cs
- XmlArrayItemAttribute.cs
- ToolboxItemWrapper.cs
- Stackframe.cs
- ProcessHostConfigUtils.cs
- CodeLabeledStatement.cs
- NotificationContext.cs
- CommandHelper.cs
- KernelTypeValidation.cs
- ValueChangedEventManager.cs
- PropertyItemInternal.cs
- CompiledRegexRunner.cs
- HandleValueEditor.cs
- Header.cs
- DesignTimeType.cs
- ProfileElement.cs
- DataPager.cs
- Group.cs
- ScriptIgnoreAttribute.cs
- SelectionHighlightInfo.cs
- GridViewCommandEventArgs.cs
- RbTree.cs
- Filter.cs
- ContainerVisual.cs
- CallbackHandler.cs
- WaitHandleCannotBeOpenedException.cs
- ConnectionManagementElement.cs
- Privilege.cs
- ToolboxCategoryItems.cs
- OracleInfoMessageEventArgs.cs
- ProcessInfo.cs
- MgmtConfigurationRecord.cs
- CodeTypeReferenceCollection.cs
- LinqDataSourceHelper.cs
- ListViewItemSelectionChangedEvent.cs
- RadialGradientBrush.cs
- LineServicesCallbacks.cs
- HuffModule.cs
- DiagnosticTraceSource.cs
- ImageMetadata.cs
- QuaternionValueSerializer.cs
- XmlSchemaAnyAttribute.cs
- DefaultProxySection.cs
- TiffBitmapEncoder.cs
- OpCodes.cs
- MenuItem.cs
- WorkflowCreationContext.cs