Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / StylusCaptureWithinProperty.cs / 1305600 / 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
- Attributes.cs
- MDIClient.cs
- LogFlushAsyncResult.cs
- DataListItemEventArgs.cs
- CodeAttributeArgument.cs
- Int32RectConverter.cs
- SystemThemeKey.cs
- MatrixTransform3D.cs
- LineServices.cs
- wmiutil.cs
- ViewGenerator.cs
- XamlRtfConverter.cs
- DataBoundLiteralControl.cs
- EventMappingSettingsCollection.cs
- CollectionTypeElement.cs
- MatrixAnimationBase.cs
- FastPropertyAccessor.cs
- MessageProperties.cs
- WCFModelStrings.Designer.cs
- XAMLParseException.cs
- basevalidator.cs
- PartDesigner.cs
- DataGridViewControlCollection.cs
- WebHostedComPlusServiceHost.cs
- HwndHost.cs
- ToolStripArrowRenderEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- SharedStatics.cs
- CallbackDebugBehavior.cs
- _ConnectOverlappedAsyncResult.cs
- PassportAuthenticationEventArgs.cs
- OperatorExpressions.cs
- ArrangedElement.cs
- VisualStyleRenderer.cs
- WindowsRegion.cs
- Convert.cs
- SpellerInterop.cs
- ClrPerspective.cs
- SecuritySessionSecurityTokenProvider.cs
- ProxyWebPartConnectionCollection.cs
- ByteAnimation.cs
- BufferedReceiveManager.cs
- EnvelopeVersion.cs
- Visual3D.cs
- RawStylusActions.cs
- UdpTransportBindingElement.cs
- CheckBox.cs
- BigInt.cs
- MouseCaptureWithinProperty.cs
- SubqueryTrackingVisitor.cs
- XslTransform.cs
- ProcessRequestArgs.cs
- ReadOnlyHierarchicalDataSource.cs
- TaskbarItemInfo.cs
- HttpListener.cs
- StorageComplexPropertyMapping.cs
- brushes.cs
- MessageContractMemberAttribute.cs
- FullTrustAssembly.cs
- Thumb.cs
- FormsAuthenticationCredentials.cs
- PropertyEmitter.cs
- ScriptReferenceEventArgs.cs
- DataContractAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- AsymmetricCryptoHandle.cs
- WorkflowInstanceContextProvider.cs
- XPathConvert.cs
- MsmqMessage.cs
- HandleValueEditor.cs
- AddInActivator.cs
- GZipStream.cs
- BrowserCapabilitiesCodeGenerator.cs
- ComContractElementCollection.cs
- RegistryKey.cs
- DataGridAddNewRow.cs
- BinaryObjectWriter.cs
- Expressions.cs
- AttachedAnnotation.cs
- EntityClassGenerator.cs
- BuildManagerHost.cs
- StrongNameIdentityPermission.cs
- WorkflowShape.cs
- HttpWriter.cs
- FormatterConverter.cs
- SetStateEventArgs.cs
- BaseWebProxyFinder.cs
- BuildTopDownAttribute.cs
- DataGridViewImageCell.cs
- ActivationArguments.cs
- EdmTypeAttribute.cs
- GlyphingCache.cs
- BamlCollectionHolder.cs
- SplineQuaternionKeyFrame.cs
- ItemsControlAutomationPeer.cs
- BackgroundWorker.cs
- ControlFilterExpression.cs
- QilPatternVisitor.cs
- SocketAddress.cs
- Compress.cs