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
- BitmapEffectOutputConnector.cs
- TimeSpanOrInfiniteValidator.cs
- LayoutEditorPart.cs
- AuthenticatedStream.cs
- Span.cs
- ParameterInfo.cs
- CodeNamespace.cs
- URLString.cs
- Script.cs
- SourceSwitch.cs
- OwnerDrawPropertyBag.cs
- CodeSubDirectory.cs
- ApplicationManager.cs
- OutputCacheSettings.cs
- Utils.cs
- SQlBooleanStorage.cs
- AutomationPropertyInfo.cs
- WpfGeneratedKnownTypes.cs
- TextDecorationLocationValidation.cs
- AesCryptoServiceProvider.cs
- CloseSequence.cs
- PolyLineSegmentFigureLogic.cs
- FilteredDataSetHelper.cs
- TableRow.cs
- Stroke.cs
- GenericWebPart.cs
- StorageAssociationTypeMapping.cs
- MD5HashHelper.cs
- AssemblyName.cs
- CommandExpr.cs
- Constants.cs
- InvokeAction.cs
- SqlRecordBuffer.cs
- X509RawDataKeyIdentifierClause.cs
- BitmapPalettes.cs
- IntersectQueryOperator.cs
- XslException.cs
- DecryptedHeader.cs
- QueryExpression.cs
- JavaScriptSerializer.cs
- ConnectionStringsExpressionBuilder.cs
- FlowLayout.cs
- GridViewPageEventArgs.cs
- BindingParameterCollection.cs
- TagMapInfo.cs
- XamlValidatingReader.cs
- XmlTextReaderImpl.cs
- WindowsUpDown.cs
- TextBoxRenderer.cs
- CalendarModeChangedEventArgs.cs
- ValidationRuleCollection.cs
- DialogResultConverter.cs
- ComIntegrationManifestGenerator.cs
- InputLanguageCollection.cs
- RangeValuePattern.cs
- CmsInterop.cs
- DiagnosticTraceSource.cs
- DbConnectionFactory.cs
- KeyPressEvent.cs
- HttpRuntime.cs
- ObjectStorage.cs
- WpfWebRequestHelper.cs
- EncryptedPackageFilter.cs
- URLIdentityPermission.cs
- MessageQueueInstaller.cs
- PeerNameRegistration.cs
- InputMethodStateChangeEventArgs.cs
- DataMemberAttribute.cs
- DataBindingCollection.cs
- EditorZone.cs
- MailAddress.cs
- Parser.cs
- TrackPoint.cs
- BooleanFacetDescriptionElement.cs
- InfoCardTraceRecord.cs
- DataSetFieldSchema.cs
- CodeCastExpression.cs
- XslException.cs
- CommentEmitter.cs
- XPathDocumentNavigator.cs
- dataprotectionpermission.cs
- PagePropertiesChangingEventArgs.cs
- MemberMaps.cs
- HMACSHA384.cs
- TemplateFactory.cs
- TraceSection.cs
- FixedSOMTableRow.cs
- CompositeFontParser.cs
- connectionpool.cs
- StreamGeometryContext.cs
- TypeNameHelper.cs
- RectangleF.cs
- CursorConverter.cs
- CreateUserErrorEventArgs.cs
- ButtonBaseAutomationPeer.cs
- BinaryMethodMessage.cs
- AutomationPropertyInfo.cs
- NodeFunctions.cs
- DispatcherFrame.cs
- ClockGroup.cs