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
- Highlights.cs
- ModelItemDictionary.cs
- X509ChainPolicy.cs
- StringInfo.cs
- DesignerVerbCollection.cs
- XPathEmptyIterator.cs
- HostnameComparisonMode.cs
- MultiPageTextView.cs
- TemplateBuilder.cs
- StoreItemCollection.Loader.cs
- ConstraintStruct.cs
- SqlDataSourceQuery.cs
- ConvertEvent.cs
- XPathDocument.cs
- Exceptions.cs
- ReaderWriterLock.cs
- RijndaelManagedTransform.cs
- SqlConnectionString.cs
- AttributeUsageAttribute.cs
- MarginsConverter.cs
- DialogResultConverter.cs
- TransformGroup.cs
- Queue.cs
- CodeMemberEvent.cs
- TransactionTraceIdentifier.cs
- AggregateNode.cs
- Underline.cs
- AuthenticatedStream.cs
- cookiecollection.cs
- BooleanStorage.cs
- PocoEntityKeyStrategy.cs
- Win32Native.cs
- TextWriterEngine.cs
- CompareValidator.cs
- SecurityKeyType.cs
- LogicalExpressionTypeConverter.cs
- ToolStripTextBox.cs
- CodeArrayIndexerExpression.cs
- XmlUtilWriter.cs
- StrokeCollectionConverter.cs
- ThreadPool.cs
- TokenFactoryBase.cs
- ProgressBar.cs
- CachedCompositeFamily.cs
- LineProperties.cs
- XmlNullResolver.cs
- AssociationTypeEmitter.cs
- IndexOutOfRangeException.cs
- SafeCryptoHandles.cs
- ChtmlFormAdapter.cs
- XmlValueConverter.cs
- StringPropertyBuilder.cs
- EdmProviderManifest.cs
- ComplexTypeEmitter.cs
- ArgumentValue.cs
- HtmlLink.cs
- Select.cs
- ClaimTypes.cs
- AsyncStreamReader.cs
- Column.cs
- ClickablePoint.cs
- PropertyGridView.cs
- MenuCommand.cs
- CustomGrammar.cs
- ModelVisual3D.cs
- BufferedGraphicsContext.cs
- EntityDataSourceView.cs
- TreeNodeCollection.cs
- basevalidator.cs
- SmtpReplyReaderFactory.cs
- ContentType.cs
- ListParagraph.cs
- LinqDataSourceContextEventArgs.cs
- DelimitedListTraceListener.cs
- bindurihelper.cs
- InternalDispatchObject.cs
- httpapplicationstate.cs
- DictionarySurrogate.cs
- PatternMatchRules.cs
- RestClientProxyHandler.cs
- SafeProcessHandle.cs
- TextBoxBase.cs
- ContractMapping.cs
- AdornerHitTestResult.cs
- ForeignKeyConstraint.cs
- ObjectQueryState.cs
- UpdateManifestForBrowserApplication.cs
- HiddenFieldPageStatePersister.cs
- ComponentTray.cs
- AnalyzedTree.cs
- DeviceContexts.cs
- handlecollector.cs
- OleDbConnection.cs
- XmlSchemaElement.cs
- LinkAreaEditor.cs
- JoinQueryOperator.cs
- SchemaImporterExtensionElement.cs
- IncrementalReadDecoders.cs
- _BasicClient.cs
- UIElement3D.cs