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
- GenericXmlSecurityToken.cs
- PeerName.cs
- TypeUnloadedException.cs
- TextParagraphCache.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DeferredTextReference.cs
- TypeHelpers.cs
- SqlCommandAsyncResult.cs
- TextTrailingWordEllipsis.cs
- MetadataSource.cs
- MenuAdapter.cs
- EtwProvider.cs
- ClusterSafeNativeMethods.cs
- LockingPersistenceProvider.cs
- QueryReaderSettings.cs
- ReferentialConstraintRoleElement.cs
- InitializationEventAttribute.cs
- ByteStreamGeometryContext.cs
- BufferedGraphicsManager.cs
- SqlTrackingQuery.cs
- ChannelReliableSession.cs
- BoolExpressionVisitors.cs
- TextAction.cs
- RSAProtectedConfigurationProvider.cs
- SqlTransaction.cs
- ToolboxService.cs
- RadioButtonPopupAdapter.cs
- arabicshape.cs
- TypeConverters.cs
- X509Extension.cs
- util.cs
- DesignerLinkAdapter.cs
- HtmlToClrEventProxy.cs
- SchemaLookupTable.cs
- DataBoundControlHelper.cs
- BuildDependencySet.cs
- Brush.cs
- Semaphore.cs
- RtfNavigator.cs
- URL.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Shape.cs
- ControlUtil.cs
- StringFunctions.cs
- DefaultValueTypeConverter.cs
- FileStream.cs
- IERequestCache.cs
- ThreadSafeList.cs
- TransformedBitmap.cs
- DataGridViewRowCancelEventArgs.cs
- FamilyTypeface.cs
- SingleAnimationBase.cs
- ArraySet.cs
- AxWrapperGen.cs
- XsltOutput.cs
- CodeExpressionStatement.cs
- SplineQuaternionKeyFrame.cs
- HtmlContainerControl.cs
- InstanceLockLostException.cs
- SystemParameters.cs
- HandleExceptionArgs.cs
- WebPartRestoreVerb.cs
- VersionUtil.cs
- DateTimeParse.cs
- EventLogEntry.cs
- SessionStateUtil.cs
- XmlSchemaException.cs
- CommandBinding.cs
- WindowManager.cs
- GlyphInfoList.cs
- CalculatedColumn.cs
- ScaleTransform.cs
- XmlSchemaAnyAttribute.cs
- PopupRoot.cs
- XPathScanner.cs
- UnsafePeerToPeerMethods.cs
- EntityCommandCompilationException.cs
- LinkConverter.cs
- Stacktrace.cs
- BaseCAMarshaler.cs
- ViewPort3D.cs
- StringDictionaryEditor.cs
- PassportPrincipal.cs
- HttpHandlersSection.cs
- CodeEventReferenceExpression.cs
- WindowsMenu.cs
- TypefaceMetricsCache.cs
- DomainUpDown.cs
- CompilerCollection.cs
- MemberExpressionHelper.cs
- PropertyInformationCollection.cs
- ImageDesigner.cs
- SpeechSeg.cs
- XmlSchemaAttributeGroup.cs
- Nodes.cs
- ExpressionBuilderContext.cs
- CommandEventArgs.cs
- FillErrorEventArgs.cs
- DataGridViewSelectedRowCollection.cs
- BitVector32.cs