Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ListViewHitTestInfo.cs / 1 / ListViewHitTestInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
///
///
///
/// Specifies the return value for HITTEST on ListView.
///
///
public class ListViewHitTestInfo {
private ListViewHitTestLocations loc;
private ListViewItem item;
private ListViewItem.ListViewSubItem subItem;
///
///
/// Creates a ListViewHitTestInfo instance.
///
public ListViewHitTestInfo(ListViewItem hitItem, ListViewItem.ListViewSubItem hitSubItem, ListViewHitTestLocations hitLocation) {
this.item = hitItem;
this.subItem = hitSubItem;
this.loc = hitLocation;
}
///
///
/// This gives the exact location returned by hit test on listview.
///
public ListViewHitTestLocations Location {
get {
return loc;
}
}
///
///
/// This gives the ListViewItem returned by hit test on listview.
///
public ListViewItem Item {
get {
return item;
}
}
///
///
/// This gives the ListViewSubItem returned by hit test on listview.
///
public ListViewItem.ListViewSubItem SubItem {
get {
return subItem;
}
}
}
}
// 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
- Baml2006ReaderContext.cs
- AsymmetricKeyExchangeFormatter.cs
- LocalizationComments.cs
- InstanceData.cs
- CapabilitiesPattern.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Light.cs
- ObservableDictionary.cs
- FacetDescriptionElement.cs
- HandoffBehavior.cs
- SqlConnectionString.cs
- PolicyStatement.cs
- Axis.cs
- ErrorFormatterPage.cs
- Compress.cs
- MergablePropertyAttribute.cs
- FormatConvertedBitmap.cs
- TextServicesLoader.cs
- ProcessHostConfigUtils.cs
- __Filters.cs
- BindingCollection.cs
- HostedElements.cs
- ClientApiGenerator.cs
- TableParagraph.cs
- DoubleLinkListEnumerator.cs
- URLMembershipCondition.cs
- PeerToPeerException.cs
- WebServiceEnumData.cs
- TextModifierScope.cs
- XmlUtilWriter.cs
- GridViewDeletedEventArgs.cs
- MetadataItemEmitter.cs
- MetadataItemEmitter.cs
- MappedMetaModel.cs
- SwitchLevelAttribute.cs
- UrlMappingsSection.cs
- WebPartZone.cs
- Image.cs
- BufferedStream.cs
- SpecialTypeDataContract.cs
- EditorServiceContext.cs
- ReversePositionQuery.cs
- MobileUserControlDesigner.cs
- ReversePositionQuery.cs
- ADMembershipProvider.cs
- RemotingServices.cs
- FixedStringLookup.cs
- ActiveXContainer.cs
- MediaTimeline.cs
- XmlRootAttribute.cs
- LinkAreaEditor.cs
- GridViewEditEventArgs.cs
- CacheAxisQuery.cs
- WebScriptMetadataMessageEncoderFactory.cs
- GridViewUpdatedEventArgs.cs
- StringPropertyBuilder.cs
- DataDesignUtil.cs
- WebPartConnectionsConfigureVerb.cs
- PointConverter.cs
- ThicknessAnimationUsingKeyFrames.cs
- WebBrowserProgressChangedEventHandler.cs
- ActivityDesignerHelper.cs
- SignatureResourcePool.cs
- ToolBarTray.cs
- x509utils.cs
- FormsAuthenticationCredentials.cs
- _AutoWebProxyScriptWrapper.cs
- ItemChangedEventArgs.cs
- ProxyElement.cs
- COM2ICategorizePropertiesHandler.cs
- Types.cs
- XmlSchemaElement.cs
- ListViewItemEventArgs.cs
- BridgeDataRecord.cs
- DbExpressionRules.cs
- SingleAnimation.cs
- CodeTypeParameterCollection.cs
- TimeStampChecker.cs
- RectKeyFrameCollection.cs
- NewExpression.cs
- ObjectIDGenerator.cs
- DataViewSettingCollection.cs
- RoleManagerSection.cs
- Label.cs
- TreeNode.cs
- AttachedAnnotation.cs
- EditingMode.cs
- GridProviderWrapper.cs
- CriticalExceptions.cs
- Attributes.cs
- HTMLTextWriter.cs
- ClientSettings.cs
- HtmlUtf8RawTextWriter.cs
- StructureChangedEventArgs.cs
- ItemTypeToolStripMenuItem.cs
- ServiceErrorHandler.cs
- SchemaDeclBase.cs
- DocumentViewerAutomationPeer.cs
- RC2CryptoServiceProvider.cs
- PerformanceCounterNameAttribute.cs