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
- TabPage.cs
- ObjectIDGenerator.cs
- WindowsFormsHostPropertyMap.cs
- FormViewInsertEventArgs.cs
- HtmlTableCellCollection.cs
- IntranetCredentialPolicy.cs
- SoapReflectionImporter.cs
- HttpCachePolicy.cs
- SafeRightsManagementPubHandle.cs
- MoveSizeWinEventHandler.cs
- HttpServerUtilityBase.cs
- WebPartConnectVerb.cs
- CachedFontFace.cs
- PropertyContainer.cs
- ColumnTypeConverter.cs
- GroupDescription.cs
- FillBehavior.cs
- followingquery.cs
- SqlParameterCollection.cs
- BrowserDefinitionCollection.cs
- DocumentViewer.cs
- EncoderFallback.cs
- RowUpdatedEventArgs.cs
- MenuItemStyleCollection.cs
- BaseDataList.cs
- FilteredReadOnlyMetadataCollection.cs
- CssTextWriter.cs
- XpsFilter.cs
- PlaceHolder.cs
- OrCondition.cs
- ExpressionPrefixAttribute.cs
- ThrowHelper.cs
- XmlWriterTraceListener.cs
- HtmlMeta.cs
- SharedStream.cs
- XamlWriter.cs
- XmlComment.cs
- TdsEnums.cs
- FillBehavior.cs
- SuppressIldasmAttribute.cs
- ToolBarOverflowPanel.cs
- ImageCodecInfoPrivate.cs
- ApplicationServiceManager.cs
- ThemeDictionaryExtension.cs
- DataGridViewImageColumn.cs
- Directory.cs
- BooleanSwitch.cs
- ScaleTransform.cs
- PropertyEntry.cs
- IntSumAggregationOperator.cs
- UiaCoreProviderApi.cs
- TreeWalkHelper.cs
- PlainXmlSerializer.cs
- LocatorGroup.cs
- Bits.cs
- TextTreeRootTextBlock.cs
- FastEncoderWindow.cs
- FormattedTextSymbols.cs
- DataGridAddNewRow.cs
- StringValidator.cs
- GridItem.cs
- OptimalBreakSession.cs
- PropertyEntry.cs
- DiffuseMaterial.cs
- InertiaRotationBehavior.cs
- AppDomainShutdownMonitor.cs
- SrgsElementFactory.cs
- RequestQueue.cs
- PersonalizationState.cs
- ColumnMapTranslator.cs
- MD5.cs
- EventWaitHandle.cs
- MissingFieldException.cs
- PackWebRequestFactory.cs
- basenumberconverter.cs
- ListMarkerLine.cs
- InteropExecutor.cs
- RegularExpressionValidator.cs
- HttpApplication.cs
- ImmutableDispatchRuntime.cs
- BaseValidatorDesigner.cs
- WebEventCodes.cs
- EraserBehavior.cs
- InheritedPropertyChangedEventArgs.cs
- RedBlackList.cs
- DocumentCollection.cs
- AccessorTable.cs
- GroupBox.cs
- VectorCollectionValueSerializer.cs
- ReflectionUtil.cs
- RootNamespaceAttribute.cs
- UIServiceHelper.cs
- CacheAxisQuery.cs
- ScriptResourceHandler.cs
- SqlInternalConnection.cs
- LinkLabel.cs
- BackgroundFormatInfo.cs
- CollectionCodeDomSerializer.cs
- RecommendedAsConfigurableAttribute.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs