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; ////// /// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawToolTipEventArgs.cs
- AssociationSet.cs
- FormViewUpdatedEventArgs.cs
- DbCommandTree.cs
- ComponentCommands.cs
- ObjectFullSpanRewriter.cs
- DelegatingTypeDescriptionProvider.cs
- ReflectionUtil.cs
- RepeaterItemCollection.cs
- HttpCapabilitiesSectionHandler.cs
- ValidationError.cs
- arabicshape.cs
- BrowserCapabilitiesCompiler.cs
- WaitForChangedResult.cs
- PathFigureCollection.cs
- XmlAutoDetectWriter.cs
- LogicalExpressionEditor.cs
- PrivacyNoticeBindingElement.cs
- SrgsElementList.cs
- GeneralTransformGroup.cs
- ParameterReplacerVisitor.cs
- ToolTip.cs
- FontFaceLayoutInfo.cs
- StylusButton.cs
- InputMethodStateChangeEventArgs.cs
- ActivitySurrogateSelector.cs
- CqlLexer.cs
- FieldAccessException.cs
- DataPagerCommandEventArgs.cs
- ToolBarDesigner.cs
- TextElement.cs
- PublishLicense.cs
- SAPICategories.cs
- RuleInfoComparer.cs
- InternalConfigHost.cs
- FixedSOMPageConstructor.cs
- PrintPreviewControl.cs
- MouseEvent.cs
- HtmlFormWrapper.cs
- SqlTrackingService.cs
- RenderOptions.cs
- SBCSCodePageEncoding.cs
- XPSSignatureDefinition.cs
- FrugalMap.cs
- BindUriHelper.cs
- SerializationUtility.cs
- DataServiceHostFactory.cs
- SettingsPropertyCollection.cs
- MergeLocalizationDirectives.cs
- GridViewHeaderRowPresenter.cs
- TreeViewAutomationPeer.cs
- SQLDoubleStorage.cs
- SharedDp.cs
- OneWayChannelListener.cs
- GeneralTransformGroup.cs
- ObjectDataSource.cs
- AstNode.cs
- MouseButton.cs
- ToolStripMenuItem.cs
- XmlImplementation.cs
- ObjectSet.cs
- Calendar.cs
- XmlSchemaSimpleContentRestriction.cs
- DataSourceHelper.cs
- OrderedHashRepartitionStream.cs
- XmlAttributeOverrides.cs
- DynamicDocumentPaginator.cs
- Matrix3DValueSerializer.cs
- InputLanguageEventArgs.cs
- CriticalExceptions.cs
- StopStoryboard.cs
- ApplicationHost.cs
- DataGridViewImageCell.cs
- VersionedStream.cs
- OleCmdHelper.cs
- WindowsIdentity.cs
- Message.cs
- PolyLineSegment.cs
- HtmlLink.cs
- DaylightTime.cs
- SafeEventLogWriteHandle.cs
- DataGridRow.cs
- DnsEndPoint.cs
- StreamInfo.cs
- XmlBinaryReader.cs
- baseshape.cs
- InputBuffer.cs
- HandlerBase.cs
- ListBox.cs
- DoubleSumAggregationOperator.cs
- EnumBuilder.cs
- CssStyleCollection.cs
- SectionInformation.cs
- WmlCalendarAdapter.cs
- OleDbErrorCollection.cs
- TiffBitmapEncoder.cs
- ExpressionReplacer.cs
- DirectionalLight.cs
- DefaultAsyncDataDispatcher.cs
- StylusCollection.cs