Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GridViewRow.cs
- InfoCardPolicy.cs
- QueryCursorEventArgs.cs
- WindowsRichEditRange.cs
- StringArrayConverter.cs
- ClientUtils.cs
- UpdateCompiler.cs
- DataSourceCacheDurationConverter.cs
- InternalBufferOverflowException.cs
- CellCreator.cs
- SplitterDesigner.cs
- WorkflowLayouts.cs
- RegexInterpreter.cs
- COAUTHIDENTITY.cs
- TemplateControl.cs
- CompModSwitches.cs
- ImmutableAssemblyCacheEntry.cs
- RelatedView.cs
- ProgressBarRenderer.cs
- HandledEventArgs.cs
- DataRecordInternal.cs
- Highlights.cs
- WizardPanel.cs
- EventLogTraceListener.cs
- _NTAuthentication.cs
- Stopwatch.cs
- SecurityManager.cs
- BuildProvider.cs
- mediaeventargs.cs
- CollectionConverter.cs
- OleDbErrorCollection.cs
- MetadataSerializer.cs
- ColumnClickEvent.cs
- ProgressBarAutomationPeer.cs
- SqlBuilder.cs
- EdmItemCollection.cs
- IdnElement.cs
- TableProvider.cs
- RegexWorker.cs
- AutoGeneratedFieldProperties.cs
- StandardToolWindows.cs
- ButtonBaseAutomationPeer.cs
- RequestQueue.cs
- ColumnReorderedEventArgs.cs
- HtmlInputButton.cs
- ArrayList.cs
- DiscoveryDocumentLinksPattern.cs
- PenLineCapValidation.cs
- UnmanagedBitmapWrapper.cs
- EdmItemError.cs
- NeedSkipTokenVisitor.cs
- MoveSizeWinEventHandler.cs
- ProjectionCamera.cs
- NotImplementedException.cs
- HwndMouseInputProvider.cs
- CallbackValidatorAttribute.cs
- BreakRecordTable.cs
- RtfToXamlLexer.cs
- EUCJPEncoding.cs
- XmlQualifiedNameTest.cs
- CopyAction.cs
- NamedObject.cs
- ShaderEffect.cs
- KnownBoxes.cs
- SelectorItemAutomationPeer.cs
- BufferedWebEventProvider.cs
- SynchronizingStream.cs
- followingsibling.cs
- WebControl.cs
- printdlgexmarshaler.cs
- WebContext.cs
- XPathQilFactory.cs
- BuildProvider.cs
- InternalTypeHelper.cs
- JsonStringDataContract.cs
- CompModSwitches.cs
- graph.cs
- RegistryExceptionHelper.cs
- HttpListenerRequest.cs
- FormsAuthenticationConfiguration.cs
- WebBrowser.cs
- BigInt.cs
- ObjectNotFoundException.cs
- WinEventWrap.cs
- DataGridViewRowStateChangedEventArgs.cs
- VectorValueSerializer.cs
- NodeInfo.cs
- ReaderWriterLock.cs
- HttpDebugHandler.cs
- SynchronizedCollection.cs
- ListViewPagedDataSource.cs
- OracleParameterBinding.cs
- SpellerError.cs
- DesignSurfaceEvent.cs
- DesignerGenericWebPart.cs
- TableLayoutSettingsTypeConverter.cs
- GregorianCalendar.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ActivityDesignerLayoutSerializers.cs
- ProxySimple.cs