Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EditingScopeUndoUnit.cs
- EntityContainerEmitter.cs
- PersonalizationState.cs
- AstNode.cs
- VersionValidator.cs
- _UriSyntax.cs
- COM2TypeInfoProcessor.cs
- NullableLongAverageAggregationOperator.cs
- PropVariant.cs
- EntryPointNotFoundException.cs
- ServiceModelConfigurationElementCollection.cs
- TakeQueryOptionExpression.cs
- ValidatedMobileControlConverter.cs
- CryptoApi.cs
- XmlUrlEditor.cs
- TextCompositionEventArgs.cs
- SoapAttributes.cs
- GridViewSelectEventArgs.cs
- NamedElement.cs
- Parallel.cs
- RuleInfoComparer.cs
- Triangle.cs
- VisualCollection.cs
- PolyQuadraticBezierSegment.cs
- DataGridCaption.cs
- Models.cs
- ValidationSummary.cs
- BindToObject.cs
- Misc.cs
- sortedlist.cs
- WebPartAddingEventArgs.cs
- Window.cs
- ConstNode.cs
- DocumentSchemaValidator.cs
- TracedNativeMethods.cs
- List.cs
- ShimAsPublicXamlType.cs
- XmlAttributeAttribute.cs
- DesignerForm.cs
- backend.cs
- OSFeature.cs
- CrossAppDomainChannel.cs
- FrameworkElementFactoryMarkupObject.cs
- Matrix3DStack.cs
- TemplateKeyConverter.cs
- Context.cs
- RelatedView.cs
- columnmapfactory.cs
- ChainOfResponsibility.cs
- BamlRecordReader.cs
- DataPagerFieldCommandEventArgs.cs
- StateRuntime.cs
- FacetChecker.cs
- DefaultTextStoreTextComposition.cs
- TabItemAutomationPeer.cs
- ActivityDesigner.cs
- WebPartConnectionsCloseVerb.cs
- Convert.cs
- WebZone.cs
- MouseBinding.cs
- ScriptBehaviorDescriptor.cs
- DummyDataSource.cs
- Privilege.cs
- FilterException.cs
- DefaultExpression.cs
- RelationshipEndCollection.cs
- MediaPlayer.cs
- TraceLog.cs
- HtmlPanelAdapter.cs
- SplitterPanel.cs
- XmlSchemaSimpleTypeList.cs
- SchemaComplexType.cs
- OleDbParameter.cs
- FlowPosition.cs
- TimeSpanConverter.cs
- TabletCollection.cs
- XsltFunctions.cs
- MimeImporter.cs
- IndependentAnimationStorage.cs
- SqlStream.cs
- EventWaitHandle.cs
- IsolatedStoragePermission.cs
- GorillaCodec.cs
- FilteredReadOnlyMetadataCollection.cs
- TransactionFlowBindingElementImporter.cs
- X509AudioLogo.cs
- TransactionManager.cs
- OneOfConst.cs
- HeaderUtility.cs
- Ref.cs
- XmlComment.cs
- TextTreeTextElementNode.cs
- StringOutput.cs
- Int32.cs
- SectionVisual.cs
- EntityModelBuildProvider.cs
- EntityConnection.cs
- PictureBoxDesigner.cs
- OrderingInfo.cs
- SparseMemoryStream.cs