Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; ////// /// public class ListViewHitTestInfo { private ListViewHitTestLocations loc; private ListViewItem item; private ListViewItem.ListViewSubItem subItem; ////// Specifies the return value for HITTEST on ListView. /// ////// /// 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. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; ////// /// public class ListViewHitTestInfo { private ListViewHitTestLocations loc; private ListViewItem item; private ListViewItem.ListViewSubItem subItem; ////// Specifies the return value for HITTEST on ListView. /// ////// /// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ApplicationActivator.cs
- SafeReadContext.cs
- AspNetSynchronizationContext.cs
- FolderLevelBuildProviderCollection.cs
- ObsoleteAttribute.cs
- XmlWrappingReader.cs
- FilterException.cs
- ColumnMapCopier.cs
- TextTreeUndo.cs
- ModelPropertyImpl.cs
- IsolatedStorageFile.cs
- RightNameExpirationInfoPair.cs
- ApplyTemplatesAction.cs
- ChtmlCommandAdapter.cs
- HttpAsyncResult.cs
- TimeSpanMinutesConverter.cs
- SuppressMessageAttribute.cs
- WebPartUtil.cs
- CurrentChangedEventManager.cs
- AnonymousIdentificationSection.cs
- FillRuleValidation.cs
- SizeAnimationClockResource.cs
- WebHttpBinding.cs
- SrgsDocumentParser.cs
- Roles.cs
- RuntimeWrappedException.cs
- ExpressionHelper.cs
- CustomSignedXml.cs
- IndentedWriter.cs
- MenuEventArgs.cs
- XDRSchema.cs
- BitmapEncoder.cs
- XmlSerializer.cs
- EncoderExceptionFallback.cs
- XmlUtf8RawTextWriter.cs
- SoapAttributeAttribute.cs
- EncoderFallback.cs
- CommonProperties.cs
- DefaultSerializationProviderAttribute.cs
- TypeReference.cs
- TrustLevel.cs
- DeploymentSection.cs
- BrowserTree.cs
- PageHandlerFactory.cs
- GridViewUpdatedEventArgs.cs
- OracleRowUpdatedEventArgs.cs
- Roles.cs
- SqlAliaser.cs
- EmbossBitmapEffect.cs
- XmlSchemaValidationException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- EarlyBoundInfo.cs
- ProviderBase.cs
- CodeSnippetCompileUnit.cs
- NamespaceExpr.cs
- NetCodeGroup.cs
- BufferBuilder.cs
- LocalizableResourceBuilder.cs
- LicenseManager.cs
- WebPartCloseVerb.cs
- InternalsVisibleToAttribute.cs
- DefinitionBase.cs
- ActivationServices.cs
- ToolStripDropDown.cs
- InternalConfigHost.cs
- httpapplicationstate.cs
- TemplateNodeContextMenu.cs
- FixedSOMLineRanges.cs
- Soap.cs
- ObjectContext.cs
- DocumentOrderComparer.cs
- RepeaterCommandEventArgs.cs
- XMLSchema.cs
- Hash.cs
- SingleAnimation.cs
- Control.cs
- Propagator.ExtentPlaceholderCreator.cs
- ProfileServiceManager.cs
- ImageListUtils.cs
- WSSecurityTokenSerializer.cs
- ReadContentAsBinaryHelper.cs
- WindowPatternIdentifiers.cs
- OutputCacheProfileCollection.cs
- ExceptionHandler.cs
- XmlDataProvider.cs
- XmlUnspecifiedAttribute.cs
- DBSchemaRow.cs
- ClusterRegistryConfigurationProvider.cs
- PrinterSettings.cs
- dbenumerator.cs
- DrawingGroupDrawingContext.cs
- ListViewPagedDataSource.cs
- WSSecurityPolicy12.cs
- SourceSwitch.cs
- Crc32.cs
- _AutoWebProxyScriptEngine.cs
- ReachDocumentPageSerializer.cs
- FileRecordSequenceHelper.cs
- ConsoleCancelEventArgs.cs
- ForeignConstraint.cs