Code:
/ 4.0 / 4.0 / 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.
//------------------------------------------------------------------------------
//
// 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
- HttpCapabilitiesBase.cs
- XmlAnyElementAttributes.cs
- UInt32Converter.cs
- SharedPersonalizationStateInfo.cs
- DirectionalLight.cs
- DictionaryEntry.cs
- InputLangChangeRequestEvent.cs
- DataServiceHost.cs
- WorkflowFileItem.cs
- Utils.cs
- ObjectDataSourceView.cs
- EdmComplexPropertyAttribute.cs
- BaseParser.cs
- X509RecipientCertificateClientElement.cs
- XmlSchemaSimpleContentRestriction.cs
- XamlInt32CollectionSerializer.cs
- WindowsStartMenu.cs
- MessageSmuggler.cs
- RootAction.cs
- FactoryGenerator.cs
- WebMethodAttribute.cs
- DesignerActionPropertyItem.cs
- BooleanAnimationBase.cs
- AnnotationMap.cs
- XmlWriterSettings.cs
- StaticFileHandler.cs
- ThreadSafeList.cs
- CompModHelpers.cs
- PenContexts.cs
- ByteAnimation.cs
- EnumerableRowCollection.cs
- ErrorFormatter.cs
- DragCompletedEventArgs.cs
- ByeMessage11.cs
- UnsafeNativeMethods.cs
- ValueOfAction.cs
- XmlSignificantWhitespace.cs
- ContextMenuAutomationPeer.cs
- PrintingPermission.cs
- Dispatcher.cs
- Border.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- ResourceDictionaryCollection.cs
- ApplicationDirectory.cs
- CommunicationObjectFaultedException.cs
- _Win32.cs
- SQLDateTime.cs
- ComNativeDescriptor.cs
- AnimatedTypeHelpers.cs
- ObjectDataSourceEventArgs.cs
- DbFunctionCommandTree.cs
- SqlSelectClauseBuilder.cs
- PointCollectionValueSerializer.cs
- SecUtil.cs
- ResourceDisplayNameAttribute.cs
- LastQueryOperator.cs
- ComponentChangedEvent.cs
- TypeConverter.cs
- HttpCachePolicyBase.cs
- ProcessHostServerConfig.cs
- TimeZone.cs
- EventLogException.cs
- HttpHandlersSection.cs
- HtmlInputHidden.cs
- WebPageTraceListener.cs
- DataGridComponentEditor.cs
- MessageHeaderDescription.cs
- PreProcessInputEventArgs.cs
- CodeParameterDeclarationExpression.cs
- TableAutomationPeer.cs
- SerializationInfoEnumerator.cs
- QilInvokeEarlyBound.cs
- Base64WriteStateInfo.cs
- SettingsAttributes.cs
- DBCommand.cs
- WebBaseEventKeyComparer.cs
- AbandonedMutexException.cs
- EventBookmark.cs
- WeakEventManager.cs
- MenuItemBinding.cs
- ControlTemplate.cs
- TextRangeEditTables.cs
- SafeArrayRankMismatchException.cs
- DependencyPropertyValueSerializer.cs
- CngKeyBlobFormat.cs
- TypeDescriptorContext.cs
- ComAwareEventInfo.cs
- PathStreamGeometryContext.cs
- SystemColors.cs
- StylusButtonCollection.cs
- ImageMetadata.cs
- AsyncDataRequest.cs
- ContractNamespaceAttribute.cs
- XsdBuilder.cs
- PositiveTimeSpanValidator.cs
- HttpsHostedTransportConfiguration.cs
- TextServicesDisplayAttribute.cs
- DirectoryObjectSecurity.cs
- GACMembershipCondition.cs
- TreeViewHitTestInfo.cs