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
- entitydatasourceentitysetnameconverter.cs
- ListViewItemMouseHoverEvent.cs
- Variable.cs
- ResolveCriteria.cs
- CodeNamespaceImport.cs
- HwndProxyElementProvider.cs
- ContextCorrelationInitializer.cs
- FormClosingEvent.cs
- PriorityChain.cs
- ChangeInterceptorAttribute.cs
- DataGridViewColumnConverter.cs
- ImageCodecInfo.cs
- RenderDataDrawingContext.cs
- CountdownEvent.cs
- ExtentCqlBlock.cs
- ReferentialConstraint.cs
- ExitEventArgs.cs
- RuleSettings.cs
- SafeProcessHandle.cs
- SettingsSection.cs
- XmlSerializableReader.cs
- NullableBoolConverter.cs
- DocumentPageHost.cs
- ConstraintConverter.cs
- SchemaNames.cs
- OutOfMemoryException.cs
- SimpleModelProvider.cs
- OracleLob.cs
- BehaviorService.cs
- Typography.cs
- HttpCapabilitiesBase.cs
- CompensatableTransactionScopeActivityDesigner.cs
- FaultFormatter.cs
- SemanticAnalyzer.cs
- MenuAdapter.cs
- ImageClickEventArgs.cs
- InheritanceContextHelper.cs
- DateTimeValueSerializer.cs
- WorkflowInstanceAbortedRecord.cs
- FlowPosition.cs
- XmlAttributeCollection.cs
- CharacterMetricsDictionary.cs
- TableLayout.cs
- diagnosticsswitches.cs
- TableRowGroup.cs
- ColumnTypeConverter.cs
- ComponentDispatcherThread.cs
- ZipIOExtraFieldPaddingElement.cs
- TabletCollection.cs
- PasswordDeriveBytes.cs
- LoadItemsEventArgs.cs
- NamespaceDecl.cs
- KnownBoxes.cs
- XsdDataContractExporter.cs
- GeneralTransform3DTo2DTo3D.cs
- XmlSortKey.cs
- MultipleViewPattern.cs
- UrlRoutingModule.cs
- NavigatorOutput.cs
- TriggerCollection.cs
- SerializationBinder.cs
- PropertyGridEditorPart.cs
- FlowDocumentPage.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TextPenaltyModule.cs
- RichTextBox.cs
- TextServicesHost.cs
- TreeViewImageIndexConverter.cs
- PcmConverter.cs
- Size3DConverter.cs
- HyperLinkDesigner.cs
- UserNamePasswordServiceCredential.cs
- ReadOnlyAttribute.cs
- IFlowDocumentViewer.cs
- SchemaImporter.cs
- cryptoapiTransform.cs
- ConversionValidationRule.cs
- Mutex.cs
- FeatureManager.cs
- ISAPIApplicationHost.cs
- DiscreteKeyFrames.cs
- WebPartHelpVerb.cs
- WindowsListViewItem.cs
- SymbolType.cs
- MemoryMappedViewStream.cs
- ErrorProvider.cs
- DBSqlParserTableCollection.cs
- COM2TypeInfoProcessor.cs
- SchemaCollectionCompiler.cs
- ServiceModelActivationSectionGroup.cs
- RSAPKCS1SignatureFormatter.cs
- WinFormsSecurity.cs
- TraceLevelHelper.cs
- InputElement.cs
- XmlWhitespace.cs
- Int32AnimationBase.cs
- CompositionTarget.cs
- PlaceHolder.cs
- ListBindableAttribute.cs
- PkcsMisc.cs