Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / TreeViewHitTestInfo.cs / 1 / 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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ServiceMoniker.cs
- CaseCqlBlock.cs
- BaseResourcesBuildProvider.cs
- COAUTHIDENTITY.cs
- ToolStripDropDownButton.cs
- counter.cs
- RequestCache.cs
- XmlQueryStaticData.cs
- RawStylusInputCustomData.cs
- SQLSingleStorage.cs
- ResourceDescriptionAttribute.cs
- CompositeCollectionView.cs
- XmlDocument.cs
- XmlAutoDetectWriter.cs
- GroupBoxRenderer.cs
- Normalization.cs
- DecoderFallback.cs
- MailSettingsSection.cs
- TextTreeUndo.cs
- WebPartExportVerb.cs
- QuaternionConverter.cs
- IChannel.cs
- Column.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TaiwanCalendar.cs
- TransformerInfo.cs
- JsonReader.cs
- ZoneLinkButton.cs
- MexHttpBindingCollectionElement.cs
- SoapIgnoreAttribute.cs
- SqlConnectionPoolGroupProviderInfo.cs
- IItemContainerGenerator.cs
- WebBrowserEvent.cs
- MimePart.cs
- WebPartUserCapability.cs
- QuotedPrintableStream.cs
- _UriSyntax.cs
- DiscoveryViaBehavior.cs
- TableLayoutPanelCellPosition.cs
- ChannelSinkStacks.cs
- ExceptionValidationRule.cs
- EnumerableRowCollectionExtensions.cs
- TextBox.cs
- SystemPens.cs
- RealizedColumnsBlock.cs
- SvcMapFile.cs
- UnsafeNativeMethods.cs
- PrivilegeNotHeldException.cs
- UriTemplateTableMatchCandidate.cs
- DbProviderManifest.cs
- DropSource.cs
- ScriptHandlerFactory.cs
- BitmapEncoder.cs
- SoapFault.cs
- Ppl.cs
- OleDbConnectionFactory.cs
- RemotingException.cs
- DbCommandTree.cs
- XmlFormatExtensionPointAttribute.cs
- Window.cs
- SmtpException.cs
- SmtpNetworkElement.cs
- _AutoWebProxyScriptWrapper.cs
- ColumnHeaderConverter.cs
- documentsequencetextcontainer.cs
- versioninfo.cs
- SqlComparer.cs
- LabelDesigner.cs
- SecurityContextSecurityTokenResolver.cs
- SessionStateItemCollection.cs
- LicenseProviderAttribute.cs
- NamespaceEmitter.cs
- Vector3D.cs
- PropertyNames.cs
- TransformGroup.cs
- SweepDirectionValidation.cs
- FlowDocumentScrollViewer.cs
- TableItemStyle.cs
- ProfileSettingsCollection.cs
- PopupRoot.cs
- InputLanguageManager.cs
- WebServiceEnumData.cs
- Unit.cs
- HttpFileCollectionWrapper.cs
- LogLogRecordEnumerator.cs
- EventWaitHandle.cs
- EncoderReplacementFallback.cs
- ProjectionPlan.cs
- BoundingRectTracker.cs
- CreateUserWizardStep.cs
- VectorAnimationBase.cs
- ToolStripEditorManager.cs
- DrawingAttributesDefaultValueFactory.cs
- Error.cs
- EpmTargetPathSegment.cs
- Roles.cs
- ResetableIterator.cs
- MachineKey.cs
- RouteUrlExpressionBuilder.cs
- TextComposition.cs