Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / MouseCaptureWithinProperty.cs / 1305600 / MouseCaptureWithinProperty.cs
using System; using System.Windows.Input; using MS.Internal.KnownBoxes; namespace System.Windows { ///////////////////////////////////////////////////////////////////////// internal class MouseCaptureWithinProperty : ReverseInheritProperty { ///////////////////////////////////////////////////////////////////// internal MouseCaptureWithinProperty() : base( UIElement.IsMouseCaptureWithinPropertyKey, CoreFlags.IsMouseCaptureWithinCache, CoreFlags.IsMouseCaptureWithinChanged) { } ///////////////////////////////////////////////////////////////////// internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) { DependencyPropertyChangedEventArgs args = new DependencyPropertyChangedEventArgs( UIElement.IsMouseCaptureWithinProperty, BooleanBoxes.Box(oldValue), BooleanBoxes.Box(!oldValue)); if (uie != null) { uie.RaiseIsMouseCaptureWithinChanged(args); } else if (ce != null) { ce.RaiseIsMouseCaptureWithinChanged(args); } else if (uie3D != null) { uie3D.RaiseIsMouseCaptureWithinChanged(args); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Windows.Input; using MS.Internal.KnownBoxes; namespace System.Windows { ///////////////////////////////////////////////////////////////////////// internal class MouseCaptureWithinProperty : ReverseInheritProperty { ///////////////////////////////////////////////////////////////////// internal MouseCaptureWithinProperty() : base( UIElement.IsMouseCaptureWithinPropertyKey, CoreFlags.IsMouseCaptureWithinCache, CoreFlags.IsMouseCaptureWithinChanged) { } ///////////////////////////////////////////////////////////////////// internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) { DependencyPropertyChangedEventArgs args = new DependencyPropertyChangedEventArgs( UIElement.IsMouseCaptureWithinProperty, BooleanBoxes.Box(oldValue), BooleanBoxes.Box(!oldValue)); if (uie != null) { uie.RaiseIsMouseCaptureWithinChanged(args); } else if (ce != null) { ce.RaiseIsMouseCaptureWithinChanged(args); } else if (uie3D != null) { uie3D.RaiseIsMouseCaptureWithinChanged(args); } } } } // 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
- CodeArgumentReferenceExpression.cs
- ListItem.cs
- Graphics.cs
- HwndHost.cs
- mactripleDES.cs
- HtmlTableCell.cs
- AuthenticateEventArgs.cs
- TypeCollectionDesigner.xaml.cs
- IDQuery.cs
- SerTrace.cs
- ObsoleteAttribute.cs
- MailFileEditor.cs
- ImageCodecInfo.cs
- PersistenceMetadataNamespace.cs
- MonikerSyntaxException.cs
- HttpResponseHeader.cs
- AxParameterData.cs
- ContentElement.cs
- ServiceReference.cs
- TreeView.cs
- EmbossBitmapEffect.cs
- OleDbEnumerator.cs
- UnionCqlBlock.cs
- DecodeHelper.cs
- Material.cs
- DataGridViewRowCollection.cs
- SafeViewOfFileHandle.cs
- SizeKeyFrameCollection.cs
- TypeSystem.cs
- WebSysDescriptionAttribute.cs
- SqlDataSourceParameterParser.cs
- XsltOutput.cs
- TextShapeableCharacters.cs
- AddInAdapter.cs
- Types.cs
- BrowserInteropHelper.cs
- ArgumentOutOfRangeException.cs
- BordersPage.cs
- RichTextBox.cs
- ChildrenQuery.cs
- ListItemsCollectionEditor.cs
- FixUpCollection.cs
- TreeNodeStyleCollection.cs
- EventToken.cs
- CompoundFileStorageReference.cs
- WindowsScrollBar.cs
- DBSqlParserTable.cs
- DataObjectSettingDataEventArgs.cs
- ExpressionBinding.cs
- AddInPipelineAttributes.cs
- XPathNode.cs
- SqlClientWrapperSmiStreamChars.cs
- UpdatePanelControlTrigger.cs
- OutOfProcStateClientManager.cs
- Expander.cs
- PageBuildProvider.cs
- MembershipUser.cs
- EnumerableValidator.cs
- SecurityAttributeGenerationHelper.cs
- FileDialog_Vista_Interop.cs
- ExecutionContext.cs
- CopyOnWriteList.cs
- TemplateParser.cs
- DoubleCollection.cs
- DataTableNameHandler.cs
- ServiceDebugBehavior.cs
- RequestQueue.cs
- CalendarDay.cs
- ContextStaticAttribute.cs
- WizardStepBase.cs
- TreeNodeSelectionProcessor.cs
- UriTemplateLiteralPathSegment.cs
- PackageDigitalSignatureManager.cs
- WebServiceEndpoint.cs
- ThreadSafeList.cs
- TagMapCollection.cs
- TransactionalPackage.cs
- GPStream.cs
- ColumnBinding.cs
- StaticResourceExtension.cs
- CreatingCookieEventArgs.cs
- ImageListUtils.cs
- StylusButtonCollection.cs
- SqlCacheDependencySection.cs
- MissingSatelliteAssemblyException.cs
- MasterPageBuildProvider.cs
- ExtractorMetadata.cs
- CroppedBitmap.cs
- DoWorkEventArgs.cs
- Pen.cs
- Math.cs
- ObjectListDesigner.cs
- CodeDOMProvider.cs
- ProcessStartInfo.cs
- Control.cs
- XPathQilFactory.cs
- MediaPlayer.cs
- baseaxisquery.cs
- DesignerHierarchicalDataSourceView.cs
- DLinqDataModelProvider.cs