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
- SchemaElementLookUpTable.cs
- DataBindingCollection.cs
- DataSetMappper.cs
- FunctionCommandText.cs
- HtmlInputImage.cs
- WhitespaceReader.cs
- SafeNativeMethods.cs
- PropertyEmitter.cs
- IdentityReference.cs
- SqlConnectionPoolProviderInfo.cs
- Popup.cs
- DocumentSchemaValidator.cs
- SamlSecurityToken.cs
- HandleRef.cs
- PageHandlerFactory.cs
- ChannelPoolSettingsElement.cs
- Transform3DCollection.cs
- ParserHooks.cs
- SecurityUniqueId.cs
- DuplicateWaitObjectException.cs
- TextSegment.cs
- UIElementParaClient.cs
- WorkflowViewStateService.cs
- CrossSiteScriptingValidation.cs
- WebSysDescriptionAttribute.cs
- PeerUnsafeNativeMethods.cs
- TableMethodGenerator.cs
- RegionInfo.cs
- EtwTrace.cs
- StoreAnnotationsMap.cs
- MemberRelationshipService.cs
- PenLineCapValidation.cs
- oledbmetadatacollectionnames.cs
- AsnEncodedData.cs
- CodeDelegateCreateExpression.cs
- HtmlEmptyTagControlBuilder.cs
- MetadataItemEmitter.cs
- _ShellExpression.cs
- ProfileProvider.cs
- DesignerDataConnection.cs
- Matrix3D.cs
- ResourceProviderFactory.cs
- AspNetRouteServiceHttpHandler.cs
- ControlPropertyNameConverter.cs
- EmptyEnumerable.cs
- DefaultProxySection.cs
- NetPipeSection.cs
- PeerSecurityHelpers.cs
- ListViewSortEventArgs.cs
- OrderingExpression.cs
- GridItem.cs
- RuleSetCollection.cs
- filewebrequest.cs
- XmlQueryOutput.cs
- AppDomainFactory.cs
- EllipseGeometry.cs
- Stopwatch.cs
- WebRequestModuleElementCollection.cs
- ActivityCodeDomSerializer.cs
- XmlEntityReference.cs
- EntityContainerEmitter.cs
- HttpProfileBase.cs
- MultipleFilterMatchesException.cs
- Frame.cs
- HandlerBase.cs
- FamilyTypefaceCollection.cs
- VectorAnimationBase.cs
- TryCatch.cs
- HtmlSelect.cs
- WebHttpElement.cs
- ParagraphVisual.cs
- SHA256.cs
- IPipelineRuntime.cs
- TailPinnedEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- ObjectListCommandsPage.cs
- ScriptingProfileServiceSection.cs
- AuthenticatedStream.cs
- FragmentQueryKB.cs
- PathHelper.cs
- CardSpacePolicyElement.cs
- NativeMethods.cs
- RowParagraph.cs
- SqlServices.cs
- DoubleCollectionConverter.cs
- RawStylusInputCustomData.cs
- CheckBoxDesigner.cs
- ParserOptions.cs
- IxmlLineInfo.cs
- TraceSection.cs
- Literal.cs
- ToolStripSeparatorRenderEventArgs.cs
- PublisherMembershipCondition.cs
- DynamicEndpointElement.cs
- OleDbParameterCollection.cs
- FixedPageStructure.cs
- formatstringdialog.cs
- XmlNamespaceMappingCollection.cs
- BamlResourceDeserializer.cs
- LinkConverter.cs