Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- XmlAtomErrorReader.cs
- CodeAttributeDeclaration.cs
- SQLInt16Storage.cs
- VisualCollection.cs
- ViewGenerator.cs
- RequiredAttributeAttribute.cs
- TrackBar.cs
- BrowserInteropHelper.cs
- ObjectDataSourceDisposingEventArgs.cs
- ScheduleChanges.cs
- TextProperties.cs
- TextDocumentView.cs
- DbCommandDefinition.cs
- InlineCollection.cs
- LoginCancelEventArgs.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- FormsAuthentication.cs
- SevenBitStream.cs
- ControlAdapter.cs
- MouseBinding.cs
- HiddenField.cs
- TableRowCollection.cs
- BookmarkEventArgs.cs
- GridItemPatternIdentifiers.cs
- CookieProtection.cs
- EntityProviderFactory.cs
- IndependentAnimationStorage.cs
- TreeChangeInfo.cs
- SystemDropShadowChrome.cs
- FixedBufferAttribute.cs
- ToolStripHighContrastRenderer.cs
- MULTI_QI.cs
- SafeMemoryMappedFileHandle.cs
- ContourSegment.cs
- X509Utils.cs
- ByteAnimationBase.cs
- EventLevel.cs
- TargetControlTypeCache.cs
- AssemblyCollection.cs
- ZipIOFileItemStream.cs
- CachedCompositeFamily.cs
- FixedHighlight.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DbSourceCommand.cs
- Axis.cs
- EdmSchemaAttribute.cs
- DropDownList.cs
- AdPostCacheSubstitution.cs
- AncestorChangedEventArgs.cs
- DifferencingCollection.cs
- xml.cs
- AutomationInteropProvider.cs
- OleDbStruct.cs
- ToolStripSplitStackLayout.cs
- StateMachineSubscriptionManager.cs
- CacheSection.cs
- CollectionConverter.cs
- PreloadedPackages.cs
- RenderDataDrawingContext.cs
- HttpVersion.cs
- DbParameterCollection.cs
- KeyedHashAlgorithm.cs
- MediaEntryAttribute.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- TimeZoneNotFoundException.cs
- DataControlHelper.cs
- InheritanceRules.cs
- Roles.cs
- NetworkInformationPermission.cs
- Bitmap.cs
- XhtmlBasicLinkAdapter.cs
- XmlAttributeOverrides.cs
- ThreadSafeList.cs
- OutputCacheProfile.cs
- TextBox.cs
- ColorConvertedBitmap.cs
- ThemeDictionaryExtension.cs
- XmlDataImplementation.cs
- NameValueSectionHandler.cs
- SortKey.cs
- ContainerActivationHelper.cs
- Rect3D.cs
- X509ChainElement.cs
- ExternalFile.cs
- RC2.cs
- WebPartTransformerAttribute.cs
- ViewKeyConstraint.cs
- XmlElementList.cs
- SoapTransportImporter.cs
- ConnectionInterfaceCollection.cs
- UITypeEditor.cs
- TypeUtil.cs
- RoleExceptions.cs
- XmlLoader.cs
- IFormattable.cs
- LZCodec.cs
- VBIdentifierDesigner.xaml.cs
- PartialClassGenerationTask.cs
- MetricEntry.cs
- SystemWebCachingSectionGroup.cs