Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / PointHitTestResult.cs / 1 / PointHitTestResult.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: PointHitTestResult //----------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using MS.Internal; namespace System.Windows.Media { ////// This class returns the point and visual hit during a hit test pass. /// public class PointHitTestResult : HitTestResult { private Point _pointHit; ////// This constructor takes a visual and point respresenting a hit. /// public PointHitTestResult(Visual visualHit, Point pointHit) : base(visualHit) { _pointHit = pointHit; } ////// The point in local space of the hit visual. /// public Point PointHit { get { return _pointHit; } } ////// Re-expose Visual property strongly typed to 2D Visual. /// public new Visual VisualHit { get { return (Visual) base.VisualHit; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: PointHitTestResult //----------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using MS.Internal; namespace System.Windows.Media { ////// This class returns the point and visual hit during a hit test pass. /// public class PointHitTestResult : HitTestResult { private Point _pointHit; ////// This constructor takes a visual and point respresenting a hit. /// public PointHitTestResult(Visual visualHit, Point pointHit) : base(visualHit) { _pointHit = pointHit; } ////// The point in local space of the hit visual. /// public Point PointHit { get { return _pointHit; } } ////// Re-expose Visual property strongly typed to 2D Visual. /// public new Visual VisualHit { get { return (Visual) base.VisualHit; } } } } // 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
- LogArchiveSnapshot.cs
- DataGridViewButtonCell.cs
- ItemsPanelTemplate.cs
- HttpModuleAction.cs
- validationstate.cs
- HtmlFormWrapper.cs
- WaveHeader.cs
- Model3DGroup.cs
- Help.cs
- VisualStyleInformation.cs
- TableCell.cs
- ByteFacetDescriptionElement.cs
- NamespaceCollection.cs
- ListItemCollection.cs
- HybridObjectCache.cs
- ZipIOLocalFileHeader.cs
- StrokeRenderer.cs
- EventDescriptorCollection.cs
- LiteralControl.cs
- InternalPolicyElement.cs
- UpdateTranslator.cs
- RepeaterItem.cs
- DictionarySurrogate.cs
- XmlArrayItemAttribute.cs
- BufferBuilder.cs
- DrawItemEvent.cs
- GlyphRun.cs
- HandleDictionary.cs
- bindurihelper.cs
- ProfileGroupSettings.cs
- ObjectPersistData.cs
- InstalledFontCollection.cs
- BinHexEncoding.cs
- XmlAttributes.cs
- SendMailErrorEventArgs.cs
- ErrorTableItemStyle.cs
- BamlTreeUpdater.cs
- GenericPrincipal.cs
- DataGridViewButtonCell.cs
- NodeFunctions.cs
- JsonReaderWriterFactory.cs
- NativeObjectSecurity.cs
- BulletedList.cs
- ResolveMatchesCD1.cs
- addressfiltermode.cs
- PanelStyle.cs
- UserNameSecurityTokenProvider.cs
- PopupControlService.cs
- SyntaxCheck.cs
- WebHeaderCollection.cs
- EventProxy.cs
- Message.cs
- CompilationUnit.cs
- SqlExpander.cs
- BinaryParser.cs
- GatewayIPAddressInformationCollection.cs
- BaseComponentEditor.cs
- XmlSchemaObjectCollection.cs
- HttpHandlersSection.cs
- FixedElement.cs
- ExceptionHandlerDesigner.cs
- PropertyPathConverter.cs
- LabelEditEvent.cs
- XPathNodeList.cs
- ConnectionManagementElementCollection.cs
- SoapTransportImporter.cs
- StrongTypingException.cs
- ProfileInfo.cs
- BitmapCacheBrush.cs
- NullableFloatSumAggregationOperator.cs
- OleDbCommandBuilder.cs
- DesignerVerb.cs
- OpenTypeCommon.cs
- Util.cs
- CardSpacePolicyElement.cs
- SMSvcHost.cs
- OleCmdHelper.cs
- FormViewPageEventArgs.cs
- BaseCollection.cs
- ExtractorMetadata.cs
- ButtonBaseAdapter.cs
- Form.cs
- Lock.cs
- translator.cs
- InlineUIContainer.cs
- HeaderElement.cs
- LocalizabilityAttribute.cs
- SoapFault.cs
- DesignOnlyAttribute.cs
- DocumentViewerBaseAutomationPeer.cs
- FilteredXmlReader.cs
- GridViewSelectEventArgs.cs
- HtmlControl.cs
- ArithmeticException.cs
- Validator.cs
- SchemaComplexType.cs
- Operand.cs
- TransactionFilter.cs
- SqlVisitor.cs
- XDRSchema.cs