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
- ValueProviderWrapper.cs
- isolationinterop.cs
- SymLanguageType.cs
- TextBoxRenderer.cs
- DependencyPropertyHelper.cs
- Tablet.cs
- BezierSegment.cs
- XmlTypeAttribute.cs
- AssemblyAttributes.cs
- EncodingInfo.cs
- FlowLayoutPanelDesigner.cs
- PropertyRef.cs
- DrawingServices.cs
- KeyValueInternalCollection.cs
- Property.cs
- MemberNameValidator.cs
- TextBoxBase.cs
- CaseInsensitiveComparer.cs
- TraceInternal.cs
- SrgsToken.cs
- FrameworkEventSource.cs
- ExtractedStateEntry.cs
- ChtmlFormAdapter.cs
- HtmlInputButton.cs
- RuntimeHandles.cs
- Viewport3DAutomationPeer.cs
- ObjectAnimationBase.cs
- _IPv4Address.cs
- TextParaLineResult.cs
- DoubleStorage.cs
- ElementHost.cs
- WhitespaceRuleReader.cs
- ToolStripDesignerUtils.cs
- AnimationTimeline.cs
- TransformerTypeCollection.cs
- XmlAtomicValue.cs
- CleanUpVirtualizedItemEventArgs.cs
- MarshalByRefObject.cs
- WebConfigurationHostFileChange.cs
- BooleanExpr.cs
- HtmlTitle.cs
- Viewport2DVisual3D.cs
- documentsequencetextview.cs
- DbConnectionClosed.cs
- ErrorFormatterPage.cs
- ObjectReaderCompiler.cs
- MenuItemAutomationPeer.cs
- Boolean.cs
- TypeListConverter.cs
- CommonDialog.cs
- TcpAppDomainProtocolHandler.cs
- QueryCreatedEventArgs.cs
- Not.cs
- ThicknessAnimation.cs
- BackoffTimeoutHelper.cs
- WmlPanelAdapter.cs
- MediaCommands.cs
- FontFamily.cs
- mil_commands.cs
- SecurityTokenProvider.cs
- VoiceObjectToken.cs
- ExceptionNotification.cs
- UidManager.cs
- ToolStripContentPanel.cs
- WeakEventManager.cs
- WindowsUpDown.cs
- RuntimeHelpers.cs
- TreeBuilderBamlTranslator.cs
- NumericUpDownAcceleration.cs
- SQLDecimal.cs
- Panel.cs
- Color.cs
- AllMembershipCondition.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TypeSystem.cs
- TypeSystemProvider.cs
- ProfileSettings.cs
- Command.cs
- COM2IPerPropertyBrowsingHandler.cs
- HtmlControlPersistable.cs
- HttpProfileBase.cs
- DataGridViewTextBoxColumn.cs
- RootNamespaceAttribute.cs
- PersianCalendar.cs
- SoundPlayerAction.cs
- QilName.cs
- ContentElement.cs
- CodeDomSerializerException.cs
- xsdvalidator.cs
- Events.cs
- EndOfStreamException.cs
- SchemaCollectionPreprocessor.cs
- SqlCachedBuffer.cs
- MasterPageBuildProvider.cs
- XmlTypeAttribute.cs
- AppDomainAttributes.cs
- TraceInternal.cs
- BaseValidator.cs
- XmlWellformedWriter.cs
- RtType.cs