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
- CodeIndexerExpression.cs
- ObjectDataSource.cs
- ActivationServices.cs
- _ListenerRequestStream.cs
- CompileXomlTask.cs
- HealthMonitoringSection.cs
- ModulesEntry.cs
- Error.cs
- TabControlCancelEvent.cs
- DocumentXmlWriter.cs
- WindowsStartMenu.cs
- FormsAuthenticationModule.cs
- ProviderCommandInfoUtils.cs
- ResourceContainer.cs
- RenderData.cs
- EnumUnknown.cs
- LinearGradientBrush.cs
- MessageQueueTransaction.cs
- IntegerFacetDescriptionElement.cs
- AuthenticationException.cs
- WebPartDescriptionCollection.cs
- DataGridTextBoxColumn.cs
- SqlMethodAttribute.cs
- WebHeaderCollection.cs
- SiblingIterators.cs
- UnsettableComboBox.cs
- SoapIncludeAttribute.cs
- ChannelManager.cs
- SmtpSection.cs
- ProbeDuplexCD1AsyncResult.cs
- RuleSettings.cs
- InvalidComObjectException.cs
- AddInDeploymentState.cs
- ProfileServiceManager.cs
- ListDictionaryInternal.cs
- DetailsViewActionList.cs
- ExpressionWriter.cs
- TemplatedMailWebEventProvider.cs
- MatchingStyle.cs
- RowUpdatingEventArgs.cs
- Command.cs
- EditBehavior.cs
- OciLobLocator.cs
- TableLayoutPanel.cs
- CqlErrorHelper.cs
- localization.cs
- securitycriticaldataClass.cs
- Compiler.cs
- BypassElement.cs
- AppDomainGrammarProxy.cs
- ShaderEffect.cs
- IntSecurity.cs
- TdsEnums.cs
- _NetworkingPerfCounters.cs
- ObjectCloneHelper.cs
- Stylus.cs
- ToolStripOverflow.cs
- RefreshEventArgs.cs
- Drawing.cs
- SQlBooleanStorage.cs
- SoapCodeExporter.cs
- PropertyDescriptorComparer.cs
- PerformanceCounterManager.cs
- DictionaryManager.cs
- Geometry3D.cs
- SponsorHelper.cs
- LocatorPartList.cs
- ClientProtocol.cs
- CodeExpressionStatement.cs
- EntityAdapter.cs
- KeyEventArgs.cs
- Typeface.cs
- LicenseProviderAttribute.cs
- ProfileService.cs
- SchemaObjectWriter.cs
- Repeater.cs
- SubMenuStyle.cs
- ClipboardData.cs
- FileReader.cs
- QueryGeneratorBase.cs
- XmlWhitespace.cs
- ObjectQuery.cs
- ZoneMembershipCondition.cs
- MailAddress.cs
- TriggerCollection.cs
- FrameworkContentElement.cs
- NoResizeSelectionBorderGlyph.cs
- CompiledXpathExpr.cs
- RowType.cs
- HostProtectionPermission.cs
- __Error.cs
- EdmItemError.cs
- NoClickablePointException.cs
- FontWeights.cs
- CodeIterationStatement.cs
- TrackingMemoryStreamFactory.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ProcessHostServerConfig.cs
- TargetParameterCountException.cs
- QilVisitor.cs