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
- Application.cs
- TypeInitializationException.cs
- DataColumnChangeEvent.cs
- PropertyOrder.cs
- DBDataPermission.cs
- odbcmetadatacolumnnames.cs
- LocalizedNameDescriptionPair.cs
- LabelInfo.cs
- ImpersonateTokenRef.cs
- AccessedThroughPropertyAttribute.cs
- InheritablePropertyChangeInfo.cs
- basenumberconverter.cs
- ColorTransformHelper.cs
- CodeMemberEvent.cs
- MemberMaps.cs
- FontCollection.cs
- DependencyObjectType.cs
- GenericUriParser.cs
- ComboBoxRenderer.cs
- EntitySetDataBindingList.cs
- PersianCalendar.cs
- XmlSchemaInfo.cs
- AgileSafeNativeMemoryHandle.cs
- entityreference_tresulttype.cs
- HtmlElement.cs
- EntitySqlQueryBuilder.cs
- MeasureItemEvent.cs
- SessionStateUtil.cs
- BaseCodePageEncoding.cs
- SpeechSeg.cs
- UriParserTemplates.cs
- WebPartConnectionsCancelVerb.cs
- DebugHandleTracker.cs
- DictionaryManager.cs
- MULTI_QI.cs
- Walker.cs
- baseshape.cs
- XmlSchemaObjectCollection.cs
- CommentAction.cs
- TrustManagerMoreInformation.cs
- IconConverter.cs
- UnsafeNetInfoNativeMethods.cs
- Version.cs
- XpsSerializationManager.cs
- CurrencyWrapper.cs
- OracleRowUpdatingEventArgs.cs
- EntitySqlQueryCacheEntry.cs
- LocalBuilder.cs
- CodeAssignStatement.cs
- DbConnectionPoolGroup.cs
- BookmarkScopeManager.cs
- XhtmlConformanceSection.cs
- MdiWindowListStrip.cs
- ObjectViewQueryResultData.cs
- EntityCommand.cs
- WCFBuildProvider.cs
- FixedSchema.cs
- CodeRegionDirective.cs
- XmlReaderSettings.cs
- TextTreeTextBlock.cs
- BaseComponentEditor.cs
- TypeFieldSchema.cs
- HtmlContainerControl.cs
- ListViewCommandEventArgs.cs
- IPEndPointCollection.cs
- BufferBuilder.cs
- PropertyPathWorker.cs
- ArrayExtension.cs
- XmlSchemaGroup.cs
- ContentType.cs
- RegexParser.cs
- PageCatalogPart.cs
- AnimationClockResource.cs
- EntityDataSourceStatementEditor.cs
- ConfigurationStrings.cs
- ActiveDocumentEvent.cs
- VideoDrawing.cs
- ValidatorUtils.cs
- DesignBindingConverter.cs
- ObjectKeyFrameCollection.cs
- WaitForChangedResult.cs
- ZipIOExtraFieldZip64Element.cs
- Translator.cs
- BitSet.cs
- DataSourceListEditor.cs
- CompositeFontInfo.cs
- InputBinder.cs
- SelectionRangeConverter.cs
- ListDictionary.cs
- RegexRunner.cs
- SiteMapProvider.cs
- SwitchAttribute.cs
- GridViewRowCollection.cs
- Logging.cs
- NamedPipeProcessProtocolHandler.cs
- TreeViewDesigner.cs
- HebrewNumber.cs
- SslStream.cs
- CodeIdentifier.cs
- DataGrid.cs