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
- WebPartDescriptionCollection.cs
- MessageQueuePermissionAttribute.cs
- HttpApplicationFactory.cs
- ToolStripPanelDesigner.cs
- base64Transforms.cs
- Queue.cs
- Control.cs
- PtsCache.cs
- WindowsImpersonationContext.cs
- ColorAnimationBase.cs
- TimeZone.cs
- keycontainerpermission.cs
- XamlBuildTaskServices.cs
- GeneralTransformGroup.cs
- SmiTypedGetterSetter.cs
- DrawingContextWalker.cs
- SHA1Managed.cs
- SelectionEditingBehavior.cs
- SingleAnimationBase.cs
- ProxyManager.cs
- ReferencedCategoriesDocument.cs
- ExtractorMetadata.cs
- GridViewHeaderRowPresenter.cs
- OleDbStruct.cs
- InkCollectionBehavior.cs
- SessionStateSection.cs
- EditorAttribute.cs
- Schema.cs
- SettingsSavedEventArgs.cs
- AssemblyHash.cs
- SplitterPanel.cs
- EventLevel.cs
- AdvancedBindingEditor.cs
- BoolLiteral.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DtcInterfaces.cs
- XmlEncodedRawTextWriter.cs
- odbcmetadatafactory.cs
- Calendar.cs
- InfoCardRSACryptoProvider.cs
- HttpServerVarsCollection.cs
- COSERVERINFO.cs
- Int64Converter.cs
- PrivacyNoticeBindingElementImporter.cs
- BamlLocalizableResourceKey.cs
- Point4DConverter.cs
- SelectionPatternIdentifiers.cs
- FixedTextBuilder.cs
- GridSplitterAutomationPeer.cs
- ChangePassword.cs
- RadialGradientBrush.cs
- MenuBase.cs
- SlipBehavior.cs
- DependencyPropertyValueSerializer.cs
- ObjectDataSourceStatusEventArgs.cs
- TransactionInterop.cs
- XamlTemplateSerializer.cs
- StateManagedCollection.cs
- BufferedStream.cs
- SiteMapNode.cs
- Point3DCollection.cs
- ThreadPool.cs
- DesignSurfaceManager.cs
- PolicyUnit.cs
- SamlAdvice.cs
- UIElementAutomationPeer.cs
- DecoderNLS.cs
- XPathBinder.cs
- TextEditorTables.cs
- PackageStore.cs
- PresentationTraceSources.cs
- XmlNotation.cs
- StyleBamlRecordReader.cs
- XmlAttributeCollection.cs
- AddInContractAttribute.cs
- MultiBindingExpression.cs
- ToolStripDropTargetManager.cs
- Brush.cs
- DropAnimation.xaml.cs
- NumericPagerField.cs
- MappingSource.cs
- EdmComplexTypeAttribute.cs
- WindowsBrush.cs
- ArraySortHelper.cs
- RouteParser.cs
- Rule.cs
- FontFamilyValueSerializer.cs
- ResourceCategoryAttribute.cs
- CTreeGenerator.cs
- ComponentDispatcherThread.cs
- TextTreeTextNode.cs
- XmlSchemaAppInfo.cs
- ProcessStartInfo.cs
- FontUnitConverter.cs
- ProfileSettings.cs
- TreeViewAutomationPeer.cs
- ItemsControl.cs
- TaskResultSetter.cs
- SocketInformation.cs
- ResourceExpressionBuilder.cs