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
- ByteConverter.cs
- MenuItem.cs
- Popup.cs
- CursorConverter.cs
- PointKeyFrameCollection.cs
- TemplateBuilder.cs
- TempFiles.cs
- HtmlInputFile.cs
- StorageAssociationSetMapping.cs
- WorkflowMarkupSerializerMapping.cs
- TaiwanCalendar.cs
- WebPartCatalogAddVerb.cs
- ValidatorCompatibilityHelper.cs
- WaitForChangedResult.cs
- DirectionalAction.cs
- PointConverter.cs
- RadioButtonFlatAdapter.cs
- XPathDescendantIterator.cs
- OleDbConnectionInternal.cs
- SqlBulkCopy.cs
- SByteConverter.cs
- XamlReaderHelper.cs
- SerializationEventsCache.cs
- HtmlInputFile.cs
- InternalPermissions.cs
- TraceContextRecord.cs
- KeyNotFoundException.cs
- HeaderUtility.cs
- HotCommands.cs
- MediaElement.cs
- ProcessModelInfo.cs
- SizeAnimationClockResource.cs
- ResXResourceWriter.cs
- Lease.cs
- FindCriteria11.cs
- SafeRightsManagementPubHandle.cs
- DoubleAnimationUsingPath.cs
- CoTaskMemHandle.cs
- XmlILModule.cs
- PagerSettings.cs
- CriticalFileToken.cs
- TextContainerChangeEventArgs.cs
- EventlogProvider.cs
- ActivityInfo.cs
- XmlLinkedNode.cs
- StylusCaptureWithinProperty.cs
- BitmapDecoder.cs
- ISFClipboardData.cs
- XsltSettings.cs
- PhysicalOps.cs
- CodeMemberProperty.cs
- RoleService.cs
- newinstructionaction.cs
- QuadraticBezierSegment.cs
- DynamicMethod.cs
- UpdatePanelTriggerCollection.cs
- CacheOutputQuery.cs
- EtwProvider.cs
- StickyNoteHelper.cs
- UITypeEditor.cs
- StackSpiller.cs
- PageParser.cs
- SourceLocationProvider.cs
- DataGridViewDesigner.cs
- StylusDownEventArgs.cs
- Types.cs
- WindowsButton.cs
- Floater.cs
- MouseButton.cs
- CellParagraph.cs
- WebResponse.cs
- Polyline.cs
- ResourcePool.cs
- EncryptedKey.cs
- AdapterUtil.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- DataGridViewColumnHeaderCell.cs
- SchemaSetCompiler.cs
- UncommonField.cs
- CodeObject.cs
- namescope.cs
- DbParameterCollectionHelper.cs
- ExcCanonicalXml.cs
- ControlIdConverter.cs
- ResourceContainer.cs
- ButtonBase.cs
- RenameRuleObjectDialog.cs
- NullableDoubleAverageAggregationOperator.cs
- ClaimComparer.cs
- SafeSecurityHandles.cs
- RequestStatusBarUpdateEventArgs.cs
- XmlSchemaValidator.cs
- Enum.cs
- RoutedEventHandlerInfo.cs
- MethodBuilder.cs
- LinqTreeNodeEvaluator.cs
- Rect.cs
- ScopedKnownTypes.cs
- ListControlConvertEventArgs.cs
- UInt64Converter.cs