Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CodeSnippetStatement.cs
- LogExtentCollection.cs
- GeometryConverter.cs
- StrokeIntersection.cs
- XmlSchemaSimpleContent.cs
- XComponentModel.cs
- DataViewSettingCollection.cs
- RawKeyboardInputReport.cs
- ThreadExceptionEvent.cs
- ScriptComponentDescriptor.cs
- SspiSecurityTokenProvider.cs
- XmlSchemas.cs
- Registry.cs
- SatelliteContractVersionAttribute.cs
- ReadOnlyCollectionBase.cs
- ZipIOLocalFileDataDescriptor.cs
- SelectionBorderGlyph.cs
- BinaryObjectWriter.cs
- HandlerBase.cs
- Annotation.cs
- HttpModuleAction.cs
- ReverseComparer.cs
- RuleEngine.cs
- xamlnodes.cs
- xml.cs
- FormsAuthenticationModule.cs
- MessageQueuePermission.cs
- SqlCaseSimplifier.cs
- cache.cs
- dataprotectionpermission.cs
- FlatButtonAppearance.cs
- CssClassPropertyAttribute.cs
- BaseServiceProvider.cs
- AudioBase.cs
- AuthorizationRule.cs
- UriParserTemplates.cs
- OutOfProcStateClientManager.cs
- MonitorWrapper.cs
- ExplicitDiscriminatorMap.cs
- MSG.cs
- StrokeCollectionDefaultValueFactory.cs
- DispatcherHooks.cs
- TileBrush.cs
- DefaultSection.cs
- AddInSegmentDirectoryNotFoundException.cs
- UriTemplateLiteralQueryValue.cs
- connectionpool.cs
- HtmlElementErrorEventArgs.cs
- IgnoreFlushAndCloseStream.cs
- TextDocumentView.cs
- Int32RectConverter.cs
- CustomErrorCollection.cs
- MediaCommands.cs
- ProfileGroupSettingsCollection.cs
- AttributeData.cs
- IisTraceWebEventProvider.cs
- DataGridPagerStyle.cs
- XmlSchemaInferenceException.cs
- InputLanguageEventArgs.cs
- SortDescriptionCollection.cs
- HtmlInputFile.cs
- followingsibling.cs
- RefreshInfo.cs
- KeyFrames.cs
- MetadataHelper.cs
- ZipPackage.cs
- FindProgressChangedEventArgs.cs
- ImageAnimator.cs
- UIElement.cs
- MethodBuilder.cs
- RegexWorker.cs
- DiagnosticsElement.cs
- ColumnWidthChangingEvent.cs
- WebEventTraceProvider.cs
- RichTextBoxAutomationPeer.cs
- HintTextMaxWidthConverter.cs
- Int64Animation.cs
- MetadataCache.cs
- DataGridViewCellPaintingEventArgs.cs
- HyperLinkField.cs
- MsmqAuthenticationMode.cs
- PrintingPermission.cs
- OleDbRowUpdatedEvent.cs
- OracleSqlParser.cs
- FontEmbeddingManager.cs
- DoubleCollection.cs
- Funcletizer.cs
- DBParameter.cs
- DataGridViewRowPostPaintEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- PeerApplicationLaunchInfo.cs
- ConfigurationException.cs
- TextEvent.cs
- CombinedGeometry.cs
- EntityTransaction.cs
- WebMessageFormatHelper.cs
- ReachPrintTicketSerializerAsync.cs
- CharacterMetricsDictionary.cs
- RemoteWebConfigurationHost.cs
- OdbcStatementHandle.cs