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
- EncoderParameter.cs
- WebPartManagerDesigner.cs
- SqlGenericUtil.cs
- XPathAncestorQuery.cs
- UdpRetransmissionSettings.cs
- DetailsViewUpdatedEventArgs.cs
- Clause.cs
- TargetInvocationException.cs
- DependencyObjectPropertyDescriptor.cs
- Operand.cs
- Empty.cs
- OuterGlowBitmapEffect.cs
- AuthenticationManager.cs
- AssemblyHelper.cs
- InputBinder.cs
- ProjectionQueryOptionExpression.cs
- SchemaTableColumn.cs
- DecimalAnimationUsingKeyFrames.cs
- DataListItemCollection.cs
- SqlSupersetValidator.cs
- RoutedCommand.cs
- RestHandlerFactory.cs
- ToolboxDataAttribute.cs
- Image.cs
- ProtectedUri.cs
- MouseDevice.cs
- NativeMethods.cs
- Addressing.cs
- Helpers.cs
- FullTrustAssembly.cs
- TraceUtility.cs
- SqlCacheDependencyDatabaseCollection.cs
- Timeline.cs
- StringCollection.cs
- DataGridViewLinkColumn.cs
- SqlDataSourceSelectingEventArgs.cs
- StringKeyFrameCollection.cs
- TemplateEditingVerb.cs
- ObjectStorage.cs
- RuntimeConfigLKG.cs
- querybuilder.cs
- CommonProperties.cs
- SafeReadContext.cs
- DbConnectionPoolOptions.cs
- MemberBinding.cs
- FormViewUpdateEventArgs.cs
- CacheChildrenQuery.cs
- FunctionDetailsReader.cs
- basecomparevalidator.cs
- HuffmanTree.cs
- XamlDebuggerXmlReader.cs
- NativeMethods.cs
- ColorConvertedBitmap.cs
- PrePostDescendentsWalker.cs
- ToolStripDesignerAvailabilityAttribute.cs
- CommandHelper.cs
- GZipDecoder.cs
- NetworkStream.cs
- ButtonStandardAdapter.cs
- Instrumentation.cs
- BamlBinaryWriter.cs
- Helpers.cs
- ControlEvent.cs
- reliableinputsessionchannel.cs
- InvalidCastException.cs
- UnsafeNativeMethods.cs
- GZipDecoder.cs
- AccessDataSource.cs
- GeneralTransform3D.cs
- OrderedHashRepartitionStream.cs
- IsolatedStorageFilePermission.cs
- TextRunProperties.cs
- ThreadExceptionEvent.cs
- UpdateManifestForBrowserApplication.cs
- DriveInfo.cs
- TableSectionStyle.cs
- ObjectQueryExecutionPlan.cs
- DefaultDialogButtons.cs
- DispatcherHookEventArgs.cs
- SafeTokenHandle.cs
- XmlWriterDelegator.cs
- HelpEvent.cs
- LocalServiceSecuritySettingsElement.cs
- ISessionStateStore.cs
- Crypto.cs
- WpfPayload.cs
- WsdlBuildProvider.cs
- EnumBuilder.cs
- MenuItemBindingCollection.cs
- TreeChangeInfo.cs
- StylusPointCollection.cs
- CollectionEditVerbManager.cs
- QuotedPrintableStream.cs
- DependentList.cs
- SHA512.cs
- LocatorManager.cs
- StylusTip.cs
- DataGridItemCollection.cs
- ProcessHostFactoryHelper.cs
- Comparer.cs