Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ListViewHitTestInfo.cs / 1305376 / 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
- DecoderFallbackWithFailureFlag.cs
- BoundConstants.cs
- Lease.cs
- SqlDataSourceConfigureFilterForm.cs
- Bold.cs
- Material.cs
- LinqDataSourceDisposeEventArgs.cs
- EventManager.cs
- PackageRelationshipSelector.cs
- X509Extension.cs
- Evidence.cs
- PerformanceCounterManager.cs
- StaticSiteMapProvider.cs
- Material.cs
- ListViewTableCell.cs
- PropertyDescriptor.cs
- Propagator.Evaluator.cs
- SetterBase.cs
- DependencyPropertyHelper.cs
- SQLString.cs
- HttpModule.cs
- _BasicClient.cs
- DBNull.cs
- MediaContext.cs
- DataFormats.cs
- WinEventWrap.cs
- WebPartZoneBase.cs
- WebConfigurationManager.cs
- QueryExpression.cs
- BufferedStream.cs
- DirectoryObjectSecurity.cs
- VectorValueSerializer.cs
- QuadraticBezierSegment.cs
- DateTime.cs
- DefaultProxySection.cs
- ResourceSet.cs
- ExpressionConverter.cs
- TextRangeEditTables.cs
- ChtmlLinkAdapter.cs
- DispatchChannelSink.cs
- CurrentTimeZone.cs
- PrivilegeNotHeldException.cs
- recordstate.cs
- PageContentAsyncResult.cs
- RsaSecurityKey.cs
- RegexRunnerFactory.cs
- Column.cs
- BackgroundWorker.cs
- _SslState.cs
- SymDocumentType.cs
- AspNetHostingPermission.cs
- ClientSettingsProvider.cs
- WebPermission.cs
- EdmRelationshipRoleAttribute.cs
- SecurityPermission.cs
- ImageResources.Designer.cs
- ImportCatalogPart.cs
- SharedStatics.cs
- Triplet.cs
- RequestTimeoutManager.cs
- UIPropertyMetadata.cs
- DrawingContextWalker.cs
- AssemblySettingAttributes.cs
- Underline.cs
- DataException.cs
- HelpOperationInvoker.cs
- RectangleHotSpot.cs
- XPathItem.cs
- TypeConverterAttribute.cs
- grammarelement.cs
- AffineTransform3D.cs
- WinEventWrap.cs
- Transform.cs
- PropertyStore.cs
- LockCookie.cs
- CodeNamespace.cs
- SpotLight.cs
- ObjectDataSourceEventArgs.cs
- XsltLibrary.cs
- State.cs
- ModuleBuilder.cs
- FileDialog.cs
- Classification.cs
- Fonts.cs
- SettingsSavedEventArgs.cs
- AndAlso.cs
- Accessible.cs
- ThicknessConverter.cs
- IndexedString.cs
- WebServiceEnumData.cs
- SqlNodeTypeOperators.cs
- BufferedWebEventProvider.cs
- XXXInfos.cs
- ColorAnimationUsingKeyFrames.cs
- InvalidProgramException.cs
- WebEventTraceProvider.cs
- CodeComment.cs
- ConfigurationProperty.cs
- SyndicationSerializer.cs
- LoginUtil.cs