Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / MouseCaptureWithinProperty.cs / 1 / 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
- UndirectedGraph.cs
- ProtectedConfigurationSection.cs
- SafeMILHandle.cs
- FormViewModeEventArgs.cs
- HtmlElementEventArgs.cs
- ProviderCollection.cs
- BulletChrome.cs
- SpecialNameAttribute.cs
- Tile.cs
- StyleHelper.cs
- TextEditorCopyPaste.cs
- RequestDescription.cs
- PageVisual.cs
- ProvidersHelper.cs
- XmlWellformedWriter.cs
- BindUriHelper.cs
- PagedDataSource.cs
- ValidationException.cs
- WindowsScroll.cs
- PathTooLongException.cs
- Normalization.cs
- _HelperAsyncResults.cs
- ReaderContextStackData.cs
- SizeChangedEventArgs.cs
- CodeTypeDeclarationCollection.cs
- AppSettingsSection.cs
- WebPartDescriptionCollection.cs
- HtmlControlPersistable.cs
- MessageVersionConverter.cs
- PkcsMisc.cs
- SafeViewOfFileHandle.cs
- FacetValues.cs
- BinaryNegotiation.cs
- RightsController.cs
- PrimitiveDataContract.cs
- __ComObject.cs
- ReferenceEqualityComparer.cs
- DataSourceDescriptorCollection.cs
- BasicKeyConstraint.cs
- StringPropertyBuilder.cs
- SqlDependency.cs
- HttpCookiesSection.cs
- NativeCppClassAttribute.cs
- XmlAttributeCollection.cs
- BindingBase.cs
- HandlerWithFactory.cs
- MiniParameterInfo.cs
- CorrelationManager.cs
- TypeLoadException.cs
- UrlMappingCollection.cs
- ExpressionBuilder.cs
- HtmlInputReset.cs
- DelegateSerializationHolder.cs
- GridViewRow.cs
- SocketPermission.cs
- ScriptReferenceBase.cs
- Input.cs
- formatter.cs
- LinkedDataMemberFieldEditor.cs
- ACL.cs
- CodeMemberProperty.cs
- DataGridViewSelectedRowCollection.cs
- WebEvents.cs
- LinkLabelLinkClickedEvent.cs
- ExpressionPrefixAttribute.cs
- HeaderLabel.cs
- ProvidersHelper.cs
- QueueProcessor.cs
- EncoderNLS.cs
- EnumerableRowCollectionExtensions.cs
- sqlinternaltransaction.cs
- BamlLocalizationDictionary.cs
- EventDescriptor.cs
- Stopwatch.cs
- XmlHierarchyData.cs
- ConditionalAttribute.cs
- IProducerConsumerCollection.cs
- Int64.cs
- InfoCardXmlSerializer.cs
- XmlBinaryReader.cs
- DataRowExtensions.cs
- ThreadStaticAttribute.cs
- OleDbConnection.cs
- ObjectQuery_EntitySqlExtensions.cs
- SqlRowUpdatingEvent.cs
- TcpHostedTransportConfiguration.cs
- CodeDelegateCreateExpression.cs
- DbConnectionOptions.cs
- EndOfStreamException.cs
- CachedFontFamily.cs
- DesignerActionItemCollection.cs
- HttpConfigurationSystem.cs
- RenderContext.cs
- Color.cs
- HttpServerVarsCollection.cs
- PathNode.cs
- WrappedIUnknown.cs
- DoubleLink.cs
- GridView.cs
- Propagator.ExtentPlaceholderCreator.cs