Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / StylusCaptureWithinProperty.cs / 1 / StylusCaptureWithinProperty.cs
using System; using System.Windows.Input; using MS.Internal.KnownBoxes; namespace System.Windows { ///////////////////////////////////////////////////////////////////////// internal class StylusCaptureWithinProperty : ReverseInheritProperty { ///////////////////////////////////////////////////////////////////// internal StylusCaptureWithinProperty() : base( UIElement.IsStylusCaptureWithinPropertyKey, CoreFlags.IsStylusCaptureWithinCache, CoreFlags.IsStylusCaptureWithinChanged) { } ///////////////////////////////////////////////////////////////////// internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) { DependencyPropertyChangedEventArgs args = new DependencyPropertyChangedEventArgs( UIElement.IsStylusCaptureWithinProperty, BooleanBoxes.Box(oldValue), BooleanBoxes.Box(!oldValue)); if (uie != null) { uie.RaiseIsStylusCaptureWithinChanged(args); } else if (ce != null) { ce.RaiseIsStylusCaptureWithinChanged(args); } else if (uie3D != null) { uie3D.RaiseIsStylusCaptureWithinChanged(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 StylusCaptureWithinProperty : ReverseInheritProperty { ///////////////////////////////////////////////////////////////////// internal StylusCaptureWithinProperty() : base( UIElement.IsStylusCaptureWithinPropertyKey, CoreFlags.IsStylusCaptureWithinCache, CoreFlags.IsStylusCaptureWithinChanged) { } ///////////////////////////////////////////////////////////////////// internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) { DependencyPropertyChangedEventArgs args = new DependencyPropertyChangedEventArgs( UIElement.IsStylusCaptureWithinProperty, BooleanBoxes.Box(oldValue), BooleanBoxes.Box(!oldValue)); if (uie != null) { uie.RaiseIsStylusCaptureWithinChanged(args); } else if (ce != null) { ce.RaiseIsStylusCaptureWithinChanged(args); } else if (uie3D != null) { uie3D.RaiseIsStylusCaptureWithinChanged(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
- XMLSyntaxException.cs
- BindingCollection.cs
- BaseProcessor.cs
- DataGridColumnCollection.cs
- DLinqAssociationProvider.cs
- HWStack.cs
- TemplateGroupCollection.cs
- SqlConnection.cs
- TimeoutValidationAttribute.cs
- TextDecorationCollection.cs
- SqlNode.cs
- IsolatedStorageException.cs
- _CookieModule.cs
- XmlIncludeAttribute.cs
- EventManager.cs
- XamlPointCollectionSerializer.cs
- Parameter.cs
- EntityContainerEmitter.cs
- Wildcard.cs
- StatusBarItem.cs
- URIFormatException.cs
- XPathDocument.cs
- MailAddressCollection.cs
- WriteableOnDemandStream.cs
- RuntimeArgumentHandle.cs
- AuthenticationService.cs
- ExcCanonicalXml.cs
- DataSvcMapFileSerializer.cs
- UrlPropertyAttribute.cs
- WindowsListViewScroll.cs
- MouseActionConverter.cs
- ObjectDataSourceChooseTypePanel.cs
- HttpCookiesSection.cs
- SupportsEventValidationAttribute.cs
- PathTooLongException.cs
- SafeArrayRankMismatchException.cs
- EvidenceTypeDescriptor.cs
- DesignerActionUIStateChangeEventArgs.cs
- DeferredRunTextReference.cs
- XmlQuerySequence.cs
- EncoderReplacementFallback.cs
- XMLSyntaxException.cs
- HighlightVisual.cs
- ClaimSet.cs
- StorageScalarPropertyMapping.cs
- InvokerUtil.cs
- SafeProcessHandle.cs
- UnaryExpression.cs
- TableItemStyle.cs
- SpellerInterop.cs
- HttpResponseHeader.cs
- CacheMode.cs
- DecimalAnimationUsingKeyFrames.cs
- DropShadowEffect.cs
- HtmlForm.cs
- SqlInternalConnectionSmi.cs
- AddInAttribute.cs
- ExponentialEase.cs
- ColumnTypeConverter.cs
- ObjectPersistData.cs
- MediaPlayer.cs
- TypefaceCollection.cs
- Calendar.cs
- MimeWriter.cs
- PrintPreviewGraphics.cs
- AnimationClockResource.cs
- AuthenticationConfig.cs
- ImageMetadata.cs
- Paragraph.cs
- RegisteredScript.cs
- HttpContext.cs
- InstanceHandleConflictException.cs
- QueryableDataSourceEditData.cs
- CompilerInfo.cs
- LinqDataSourceContextEventArgs.cs
- SQLMoney.cs
- Font.cs
- MobileListItemCollection.cs
- FormView.cs
- SecUtil.cs
- IdentityNotMappedException.cs
- XmlSchemaDatatype.cs
- RecipientInfo.cs
- ChannelManager.cs
- Instrumentation.cs
- Socket.cs
- ServiceOperation.cs
- ErrorWrapper.cs
- DataContractJsonSerializerOperationBehavior.cs
- PriorityChain.cs
- ClientBuildManager.cs
- DbMetaDataFactory.cs
- HostingEnvironmentException.cs
- XamlRtfConverter.cs
- IPipelineRuntime.cs
- EventMappingSettingsCollection.cs
- LeaseManager.cs
- OracleParameterBinding.cs
- ColumnHeaderConverter.cs
- TraceLevelStore.cs