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
- UnsafeNativeMethodsCLR.cs
- WebDescriptionAttribute.cs
- DeploymentSectionCache.cs
- PerformanceCounter.cs
- SatelliteContractVersionAttribute.cs
- SetStoryboardSpeedRatio.cs
- PathStreamGeometryContext.cs
- PaperSize.cs
- EditingCommands.cs
- ChtmlImageAdapter.cs
- IgnoreFileBuildProvider.cs
- Attributes.cs
- SymDocumentType.cs
- TemplateBindingExpression.cs
- TimeSpanConverter.cs
- Tile.cs
- SecurityContext.cs
- SafeThemeHandle.cs
- AssemblyName.cs
- BreakRecordTable.cs
- XmlValidatingReaderImpl.cs
- SoundPlayer.cs
- WebBrowserNavigatingEventHandler.cs
- ConditionalAttribute.cs
- SkinBuilder.cs
- TabRenderer.cs
- IndexOutOfRangeException.cs
- TypeNameConverter.cs
- _UncName.cs
- SynchronizingStream.cs
- COM2ComponentEditor.cs
- Metafile.cs
- ToolStripSplitStackLayout.cs
- grammarelement.cs
- PageThemeBuildProvider.cs
- PersonalizationProviderHelper.cs
- EpmTargetTree.cs
- PowerStatus.cs
- PageContent.cs
- DesignerRegionMouseEventArgs.cs
- ExeConfigurationFileMap.cs
- AttributeEmitter.cs
- SQLDecimalStorage.cs
- TransactionChannelFaultConverter.cs
- ByteStreamGeometryContext.cs
- List.cs
- SimplePropertyEntry.cs
- InputGestureCollection.cs
- FieldNameLookup.cs
- StateElementCollection.cs
- ItemMap.cs
- PrintPreviewControl.cs
- COM2IDispatchConverter.cs
- PageCache.cs
- _HeaderInfoTable.cs
- RepeatBehaviorConverter.cs
- ILGenerator.cs
- RelationalExpressions.cs
- RichTextBox.cs
- ProxyManager.cs
- AutomationPropertyInfo.cs
- DataViewListener.cs
- MultiPropertyDescriptorGridEntry.cs
- InputMethod.cs
- MultiBindingExpression.cs
- SaveFileDialog.cs
- LicenseManager.cs
- StandardTransformFactory.cs
- SecureStringHasher.cs
- LongValidator.cs
- Rotation3DKeyFrameCollection.cs
- AttributeUsageAttribute.cs
- PropertyChangingEventArgs.cs
- ConversionHelper.cs
- SelectionListDesigner.cs
- WinEventHandler.cs
- ExpressionStringBuilder.cs
- StrokeFIndices.cs
- WindowsIdentity.cs
- PagerSettings.cs
- QilSortKey.cs
- RangeBase.cs
- WebEventCodes.cs
- ByeOperationCD1AsyncResult.cs
- ClientSettingsProvider.cs
- GroupBoxAutomationPeer.cs
- SessionPageStateSection.cs
- AuthorizationRule.cs
- ScrollableControlDesigner.cs
- _ListenerResponseStream.cs
- XsltException.cs
- ArcSegment.cs
- ModuleBuilder.cs
- DesignerWithHeader.cs
- HTMLTagNameToTypeMapper.cs
- BamlVersionHeader.cs
- PresentationSource.cs
- BitmapEncoder.cs
- ShaperBuffers.cs
- MethodBuilderInstantiation.cs