Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UrlMapping.cs
- SmiContextFactory.cs
- OletxEnlistment.cs
- ContextInformation.cs
- EntityContainerRelationshipSet.cs
- WmlImageAdapter.cs
- DatePickerAutomationPeer.cs
- WebPartsSection.cs
- FileIOPermission.cs
- TypeDelegator.cs
- RuntimeVariablesExpression.cs
- ExpressionReplacer.cs
- OleDbCommandBuilder.cs
- AssemblyAttributesGoHere.cs
- SecurityManager.cs
- Set.cs
- DataServiceKeyAttribute.cs
- NTAccount.cs
- MouseEvent.cs
- DefaultTypeArgumentAttribute.cs
- ADMembershipProvider.cs
- FlowStep.cs
- SliderAutomationPeer.cs
- IPAddressCollection.cs
- Point3DCollectionConverter.cs
- WriteTimeStream.cs
- CustomCredentialPolicy.cs
- CSharpCodeProvider.cs
- CookielessHelper.cs
- MutexSecurity.cs
- DependsOnAttribute.cs
- InputScopeConverter.cs
- SBCSCodePageEncoding.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- FragmentQueryKB.cs
- SystemEvents.cs
- FamilyTypeface.cs
- DWriteFactory.cs
- SQLInt64Storage.cs
- ThousandthOfEmRealDoubles.cs
- ParserHooks.cs
- XLinq.cs
- OpacityConverter.cs
- StorageEndPropertyMapping.cs
- DataFieldCollectionEditor.cs
- PerformanceCounterLib.cs
- UnknownWrapper.cs
- PagePropertiesChangingEventArgs.cs
- DataGridParentRows.cs
- GroupJoinQueryOperator.cs
- UnsafeNativeMethodsPenimc.cs
- TaskSchedulerException.cs
- AtlasWeb.Designer.cs
- XmlSchemaSequence.cs
- XmlSchemaDatatype.cs
- PeerApplication.cs
- ViewValidator.cs
- DataContractSerializerSection.cs
- Substitution.cs
- KeyBinding.cs
- QueryOptionExpression.cs
- AssemblyAttributesGoHere.cs
- BezierSegment.cs
- NameValueFileSectionHandler.cs
- Exceptions.cs
- SmtpReplyReaderFactory.cs
- WindowsFormsHelpers.cs
- KerberosReceiverSecurityToken.cs
- StickyNoteAnnotations.cs
- MimeReturn.cs
- ListItemParagraph.cs
- KeySplineConverter.cs
- HttpModuleActionCollection.cs
- XmlEventCache.cs
- AxisAngleRotation3D.cs
- ApplicationBuildProvider.cs
- NavigatorOutput.cs
- WorkflowServiceBehavior.cs
- CompiledELinqQueryState.cs
- BaseDataList.cs
- StylusPointDescription.cs
- ExecutionScope.cs
- PeerInvitationResponse.cs
- HitTestWithPointDrawingContextWalker.cs
- CheckBox.cs
- RuntimeIdentifierPropertyAttribute.cs
- ExpandedWrapper.cs
- OleDbDataAdapter.cs
- TemplatePartAttribute.cs
- Message.cs
- AutoResetEvent.cs
- GuidTagList.cs
- WebPartEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- PenThreadPool.cs
- XmlLoader.cs
- MediaTimeline.cs
- MimeParameters.cs
- CommonRemoteMemoryBlock.cs
- VisualTreeHelper.cs