Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TreeViewHitTestInfo.cs / 1305376 / TreeViewHitTestInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
///
///
///
/// Specifies the return value for HITTEST on treeview.
///
///
public class TreeViewHitTestInfo {
private TreeViewHitTestLocations loc;
private TreeNode node;
///
///
/// Creates a TreeViewHitTestInfo instance.
///
public TreeViewHitTestInfo(TreeNode hitNode, TreeViewHitTestLocations hitLocation) {
this.node = hitNode;
this.loc = hitLocation;
}
///
///
/// This gives the exact location returned by hit test on treeview.
///
public TreeViewHitTestLocations Location {
get {
return loc;
}
}
///
///
/// This gives the node returned by hit test on treeview.
///
public TreeNode Node {
get {
return node;
}
}
}
}
// 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
- DateTime.cs
- RenamedEventArgs.cs
- XmlDataDocument.cs
- Base64Stream.cs
- DataGridViewElement.cs
- DbProviderFactories.cs
- SchemaExporter.cs
- LogExtent.cs
- MemberAccessException.cs
- RowVisual.cs
- ResourceSet.cs
- cookieexception.cs
- SoapObjectReader.cs
- WebHttpBindingElement.cs
- CodeDefaultValueExpression.cs
- ToolStripDropDownClosingEventArgs.cs
- ToolboxItemAttribute.cs
- keycontainerpermission.cs
- DoubleCollectionValueSerializer.cs
- WebPartAddingEventArgs.cs
- ProxySimple.cs
- SymLanguageVendor.cs
- MessageLoggingElement.cs
- ContractComponent.cs
- MSAAEventDispatcher.cs
- LogicalExpr.cs
- ClientTargetCollection.cs
- CompatibleIComparer.cs
- DbModificationCommandTree.cs
- XpsException.cs
- ZeroOpNode.cs
- WsdlImporter.cs
- AccessViolationException.cs
- RangeValidator.cs
- XPathDocumentBuilder.cs
- AutomationEvent.cs
- SafeNativeMethods.cs
- RtfControlWordInfo.cs
- RectangleF.cs
- EncodingDataItem.cs
- Light.cs
- AdPostCacheSubstitution.cs
- SqlWorkflowPersistenceService.cs
- TextOnlyOutput.cs
- RangeValueProviderWrapper.cs
- PrinterResolution.cs
- PerformanceCounterPermissionEntry.cs
- FilterableAttribute.cs
- RadioButton.cs
- SwitchElementsCollection.cs
- SchemaMapping.cs
- srgsitem.cs
- HostingEnvironmentSection.cs
- CompressionTransform.cs
- PartialCachingControl.cs
- EmptyControlCollection.cs
- CodeObject.cs
- BaseHashHelper.cs
- SettingsBindableAttribute.cs
- DbgUtil.cs
- PointAnimation.cs
- ReadOnlyDataSourceView.cs
- BrowserDefinition.cs
- TcpClientChannel.cs
- AtlasWeb.Designer.cs
- LocalizationComments.cs
- ClassicBorderDecorator.cs
- AddingNewEventArgs.cs
- ToolStripComboBox.cs
- CatalogUtil.cs
- SmiRequestExecutor.cs
- PrintPreviewGraphics.cs
- MultiBinding.cs
- HttpPostClientProtocol.cs
- Exceptions.cs
- LocalTransaction.cs
- UserNameSecurityTokenProvider.cs
- ToolboxComponentsCreatedEventArgs.cs
- CatalogZoneDesigner.cs
- IImplicitResourceProvider.cs
- ObjectStorage.cs
- VersionPair.cs
- _NetRes.cs
- ApplyImportsAction.cs
- SqlConnectionStringBuilder.cs
- Constant.cs
- SByteConverter.cs
- cookiecollection.cs
- ComponentResourceKey.cs
- TraceContext.cs
- AspNetSynchronizationContext.cs
- StylusLogic.cs
- HttpHandlerAction.cs
- CodeDOMUtility.cs
- DecoderExceptionFallback.cs
- HandlerFactoryCache.cs
- OracleInfoMessageEventArgs.cs
- LineServices.cs
- Point4DValueSerializer.cs
- StyleReferenceConverter.cs