Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- EntityCommandCompilationException.cs
- RealProxy.cs
- ConvertBinder.cs
- PeerEndPoint.cs
- CodeObjectCreateExpression.cs
- HwndStylusInputProvider.cs
- CreateInstanceBinder.cs
- PeerValidationBehavior.cs
- ExpressionPrefixAttribute.cs
- TripleDESCryptoServiceProvider.cs
- Classification.cs
- WebBodyFormatMessageProperty.cs
- IPipelineRuntime.cs
- CalendarTable.cs
- TcpWorkerProcess.cs
- HybridDictionary.cs
- HttpCacheVaryByContentEncodings.cs
- ExtensibleClassFactory.cs
- SectionRecord.cs
- XmlIlTypeHelper.cs
- GeneralTransformCollection.cs
- Vector3DCollectionConverter.cs
- XmlDataSourceNodeDescriptor.cs
- CompiledXpathExpr.cs
- EntityProviderFactory.cs
- QilUnary.cs
- StagingAreaInputItem.cs
- HttpCachePolicy.cs
- TypeSystem.cs
- CodeDirectiveCollection.cs
- ClientSettings.cs
- CompositeCollection.cs
- BackStopAuthenticationModule.cs
- IdentifierCreationService.cs
- CapabilitiesUse.cs
- FixedSOMTableCell.cs
- CompilationUtil.cs
- Inflater.cs
- DynamicRendererThreadManager.cs
- TiffBitmapDecoder.cs
- VariableQuery.cs
- PermissionListSet.cs
- TemplateControlCodeDomTreeGenerator.cs
- ExtendedPropertyCollection.cs
- DataGridBoolColumn.cs
- TextPointerBase.cs
- SQLInt64Storage.cs
- Fx.cs
- FontCollection.cs
- FormView.cs
- TextSpanModifier.cs
- FormsAuthenticationTicket.cs
- DigestComparer.cs
- BinaryObjectWriter.cs
- RegexParser.cs
- SortableBindingList.cs
- TempFiles.cs
- PropertyPushdownHelper.cs
- TextElementEnumerator.cs
- UnmanagedMarshal.cs
- TemplateBuilder.cs
- DbExpressionVisitor_TResultType.cs
- TextEditorCopyPaste.cs
- ConfigurationStrings.cs
- EventRoute.cs
- BinHexEncoder.cs
- LineBreakRecord.cs
- SqlSelectStatement.cs
- XamlParser.cs
- XappLauncher.cs
- ToolStripOverflowButton.cs
- TabControl.cs
- FixedSOMFixedBlock.cs
- CommandBindingCollection.cs
- OrderByLifter.cs
- Stopwatch.cs
- RepeatButtonAutomationPeer.cs
- GlobalItem.cs
- XmlQueryStaticData.cs
- PrintDialog.cs
- PerformanceCounterManager.cs
- Registry.cs
- SqlDataSourceCustomCommandPanel.cs
- Point4DConverter.cs
- XmlSchemaAll.cs
- AtlasWeb.Designer.cs
- TreeNodeEventArgs.cs
- EUCJPEncoding.cs
- SpeechUI.cs
- CoTaskMemHandle.cs
- CheckBoxBaseAdapter.cs
- EntityContainer.cs
- InputLanguageSource.cs
- RegularExpressionValidator.cs
- input.cs
- CodeTypeReference.cs
- PersonalizationStateInfo.cs
- CodeObject.cs
- ProjectedSlot.cs
- ProcessHostMapPath.cs