Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- _AcceptOverlappedAsyncResult.cs
- Section.cs
- NamedObject.cs
- BufferedReadStream.cs
- ArrayHelper.cs
- FrameworkTemplate.cs
- XmlUnspecifiedAttribute.cs
- BitmapEncoder.cs
- SafeMILHandle.cs
- UIElementCollection.cs
- ElasticEase.cs
- WebPartConnectVerb.cs
- XmlAnyAttributeAttribute.cs
- BinaryKeyIdentifierClause.cs
- ArrayEditor.cs
- ObjectStateEntryDbDataRecord.cs
- CompModSwitches.cs
- DoubleLinkList.cs
- SelectionRangeConverter.cs
- FrameAutomationPeer.cs
- LinqDataSource.cs
- ContentPlaceHolder.cs
- ScrollBar.cs
- GenericWebPart.cs
- SqlDataSourceFilteringEventArgs.cs
- nulltextcontainer.cs
- SqlLiftIndependentRowExpressions.cs
- ArglessEventHandlerProxy.cs
- ReflectionUtil.cs
- ParallelTimeline.cs
- mediaeventshelper.cs
- CodeObject.cs
- ToolStripGripRenderEventArgs.cs
- SmiConnection.cs
- ProxyHelper.cs
- TagMapCollection.cs
- IndexedWhereQueryOperator.cs
- ProcessModelInfo.cs
- MailDefinition.cs
- XamlVector3DCollectionSerializer.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- EventProviderClassic.cs
- WebResponse.cs
- ProcessModuleCollection.cs
- ImageAttributes.cs
- ColorBlend.cs
- Point3DKeyFrameCollection.cs
- WebPartEditorApplyVerb.cs
- DefaultValidator.cs
- VariableBinder.cs
- HitTestParameters3D.cs
- GetBrowserTokenRequest.cs
- HandledMouseEvent.cs
- WebPartZoneCollection.cs
- ByteStorage.cs
- DateTimePicker.cs
- PeerName.cs
- Animatable.cs
- StringInfo.cs
- SinglePhaseEnlistment.cs
- DocumentViewerBase.cs
- XmlSchemaAttributeGroupRef.cs
- configsystem.cs
- CreateCardRequest.cs
- SetStoryboardSpeedRatio.cs
- SqlInternalConnectionTds.cs
- CompilerLocalReference.cs
- VectorCollection.cs
- GeneralTransform3D.cs
- DbConnectionOptions.cs
- TcpTransportBindingElement.cs
- TreeViewHitTestInfo.cs
- AndCondition.cs
- Buffer.cs
- LinqTreeNodeEvaluator.cs
- NetworkInformationPermission.cs
- WSSecurityJan2004.cs
- SafeRsaProviderHandle.cs
- SiteMapNodeItem.cs
- HtmlFormParameterWriter.cs
- DataRowChangeEvent.cs
- RuleSetDialog.cs
- NegotiateStream.cs
- ChannelPoolSettingsElement.cs
- UserControl.cs
- Int16KeyFrameCollection.cs
- DataPagerField.cs
- PrimitiveType.cs
- BasePattern.cs
- DataErrorValidationRule.cs
- LookupNode.cs
- CacheMemory.cs
- ProfileSection.cs
- CodeTypeReference.cs
- ValueUnavailableException.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- CheckBoxStandardAdapter.cs
- TdsParserSafeHandles.cs
- NumericUpDown.cs
- Int64Animation.cs