Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / AdornerHitTestResult.cs / 1 / AdornerHitTestResult.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: // AdornerHitTestResult class, used to return the result from // a call to AdornerLayer.AdornerHitTest(). // See spec at: [....]/uis/Specs/AdornerLayer%20Spec.htm // // History: // 2/16/2004 [....]: Created // //--------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using System.Collections; using MS.Internal; using System.Windows.Documents; namespace System.Windows.Media { ////// Data provided as a result of calling AdornerLayer.AdornerHitTest(). /// In addition to the visual and point information provided by the base /// class PointHitTestResult, also returns the Adorner that was hit (since /// there may be multiple Visuals in a single Adorner). /// public class AdornerHitTestResult : PointHitTestResult { private readonly Adorner _adorner; ////// Constructor /// /// Visual that was hit /// Point that was hit, in visual's coordinate space /// Adorner that was hit internal AdornerHitTestResult(Visual visual, Point pt, Adorner adorner) : base(visual, pt) { _adorner = adorner; } ////// Returns the visual that was hit. /// public Adorner Adorner { get { return _adorner; } } } } // 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
- SqlReorderer.cs
- HandledEventArgs.cs
- DecimalSumAggregationOperator.cs
- XmlSortKey.cs
- SystemUdpStatistics.cs
- RepeatBehaviorConverter.cs
- CodeLabeledStatement.cs
- SiteMapHierarchicalDataSourceView.cs
- ZipIOModeEnforcingStream.cs
- XmlSchemaSimpleContentRestriction.cs
- TimeSpanValidator.cs
- LiteralLink.cs
- DataPagerField.cs
- TabControlEvent.cs
- _RequestCacheProtocol.cs
- TypeInfo.cs
- IntegerValidatorAttribute.cs
- Membership.cs
- WebRequestModuleElement.cs
- StringSorter.cs
- CustomSignedXml.cs
- MimeMapping.cs
- DefaultDialogButtons.cs
- CodeDOMUtility.cs
- MtomMessageEncoder.cs
- DebugTracing.cs
- AddDataControlFieldDialog.cs
- SortExpressionBuilder.cs
- DbConnectionClosed.cs
- EventHandlers.cs
- CalendarModeChangedEventArgs.cs
- SmtpReplyReader.cs
- XmlBoundElement.cs
- DesignerEventService.cs
- RegexTree.cs
- SpeechRecognitionEngine.cs
- ItemsControlAutomationPeer.cs
- IPCCacheManager.cs
- OperationResponse.cs
- GroupDescription.cs
- ColorTranslator.cs
- ParseChildrenAsPropertiesAttribute.cs
- IgnoreDataMemberAttribute.cs
- TraceEventCache.cs
- RoutingExtensionElement.cs
- TextElementEditingBehaviorAttribute.cs
- listitem.cs
- TextTrailingWordEllipsis.cs
- RandomNumberGenerator.cs
- WindowAutomationPeer.cs
- RequiredArgumentAttribute.cs
- EDesignUtil.cs
- AssemblyHelper.cs
- TaiwanCalendar.cs
- EntityDataSourceValidationException.cs
- FullTextBreakpoint.cs
- SystemInfo.cs
- basecomparevalidator.cs
- DataGridViewCellConverter.cs
- StackSpiller.Generated.cs
- RepeaterItemCollection.cs
- ProcessProtocolHandler.cs
- OrderedDictionary.cs
- QuotedPrintableStream.cs
- BooleanToVisibilityConverter.cs
- ControlIdConverter.cs
- WindowsGrip.cs
- IPHostEntry.cs
- DynamicResourceExtension.cs
- BreadCrumbTextConverter.cs
- UrlRoutingHandler.cs
- Control.cs
- ComboBoxRenderer.cs
- CodeMemberMethod.cs
- ListControlConvertEventArgs.cs
- InputLanguageCollection.cs
- XmlNamespaceManager.cs
- TableSectionStyle.cs
- Interfaces.cs
- SchemaTypeEmitter.cs
- ServiceProviders.cs
- QuotedPrintableStream.cs
- CaseExpr.cs
- ThreadAttributes.cs
- WSHttpTransportSecurityElement.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ImageButton.cs
- CodeSnippetExpression.cs
- ConnectivityStatus.cs
- SortDescription.cs
- AssemblyAssociatedContentFileAttribute.cs
- MappingModelBuildProvider.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ProfessionalColorTable.cs
- RequestCache.cs
- ClosureBinding.cs
- SmiEventSink_DeferedProcessing.cs
- _NegoState.cs
- PriorityRange.cs
- CodeExporter.cs