Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ModifierKeysConverter.cs
- PersonalizationStateInfo.cs
- ProjectionPathSegment.cs
- X509Chain.cs
- EntityConnectionStringBuilderItem.cs
- VerificationAttribute.cs
- Soap.cs
- GridErrorDlg.cs
- SplineQuaternionKeyFrame.cs
- SmtpMail.cs
- Rect.cs
- TypeUtil.cs
- TdsParameterSetter.cs
- InputProcessorProfiles.cs
- ColorMap.cs
- SubpageParagraph.cs
- DataSourceControl.cs
- XmlWellformedWriter.cs
- MultilineStringConverter.cs
- ProfileSection.cs
- BamlReader.cs
- SecurityHelper.cs
- Compiler.cs
- PointCollectionConverter.cs
- IISUnsafeMethods.cs
- BitmapEffectGroup.cs
- XmlReaderSettings.cs
- DataGridViewCellMouseEventArgs.cs
- Int32CAMarshaler.cs
- FreezableDefaultValueFactory.cs
- NavigationExpr.cs
- SectionXmlInfo.cs
- HtmlTextArea.cs
- SoapAttributeOverrides.cs
- RightNameExpirationInfoPair.cs
- DataTablePropertyDescriptor.cs
- CollectionDataContract.cs
- Site.cs
- ColumnResult.cs
- ValidatingReaderNodeData.cs
- OneWayBindingElementImporter.cs
- Rss20ItemFormatter.cs
- TextTreeDeleteContentUndoUnit.cs
- securitymgrsite.cs
- ProjectionCamera.cs
- Utilities.cs
- JpegBitmapEncoder.cs
- ConditionalAttribute.cs
- TableAutomationPeer.cs
- AxisAngleRotation3D.cs
- BitmapSizeOptions.cs
- COM2ColorConverter.cs
- ToolStripButton.cs
- DesignerLabelAdapter.cs
- ErrorWrapper.cs
- InkCanvasSelectionAdorner.cs
- Message.cs
- TextEditorSpelling.cs
- DebugView.cs
- MonthChangedEventArgs.cs
- UnsafeNativeMethods.cs
- ErrorActivity.cs
- MarginCollapsingState.cs
- DynamicObject.cs
- DataGridGeneralPage.cs
- SmiTypedGetterSetter.cs
- MultipleViewPattern.cs
- Point3DIndependentAnimationStorage.cs
- InitializerFacet.cs
- FixedSchema.cs
- IriParsingElement.cs
- WindowsSecurityTokenAuthenticator.cs
- ResourceDisplayNameAttribute.cs
- ProcessModule.cs
- PreviewKeyDownEventArgs.cs
- TextElementCollectionHelper.cs
- BinHexDecoder.cs
- TypeConvertions.cs
- EventLog.cs
- SecurityDocument.cs
- httpstaticobjectscollection.cs
- TextTreeRootNode.cs
- ReadOnlyCollection.cs
- ListViewTableCell.cs
- MouseActionConverter.cs
- XslTransformFileEditor.cs
- CharConverter.cs
- SyntaxCheck.cs
- Substitution.cs
- DesignerToolboxInfo.cs
- UniqueEventHelper.cs
- SerializationInfo.cs
- mansign.cs
- NumberFormatter.cs
- ReversePositionQuery.cs
- ButtonStandardAdapter.cs
- WebSysDisplayNameAttribute.cs
- AttachmentCollection.cs
- TreeNodeCollection.cs
- TypeCollectionPropertyEditor.cs