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
- AnchorEditor.cs
- ErrorStyle.cs
- LoginUtil.cs
- SQLDateTimeStorage.cs
- GeometryGroup.cs
- SafeNativeMethods.cs
- DefaultSection.cs
- CategoryList.cs
- ReferenceEqualityComparer.cs
- DecimalAnimation.cs
- SoapObjectWriter.cs
- PeerApplication.cs
- CodeCommentStatementCollection.cs
- TreeNodeCollectionEditor.cs
- ProgressChangedEventArgs.cs
- SafeTimerHandle.cs
- WebPartsSection.cs
- Rfc2898DeriveBytes.cs
- CodeMemberMethod.cs
- DetailsViewDeletedEventArgs.cs
- DbParameterCollectionHelper.cs
- WorkflowApplicationEventArgs.cs
- ZipIOFileItemStream.cs
- KeyInstance.cs
- RoleGroupCollection.cs
- NameValueFileSectionHandler.cs
- ScanQueryOperator.cs
- StreamWriter.cs
- RoamingStoreFile.cs
- DataRelation.cs
- _RequestCacheProtocol.cs
- AlgoModule.cs
- DataControlField.cs
- AvTrace.cs
- HistoryEventArgs.cs
- HttpCapabilitiesBase.cs
- DurableOperationContext.cs
- GridViewUpdatedEventArgs.cs
- ItemCheckEvent.cs
- JoinElimination.cs
- StringUtil.cs
- WebWorkflowRole.cs
- ProgressBarAutomationPeer.cs
- TemplatedMailWebEventProvider.cs
- figurelength.cs
- StrongNameUtility.cs
- HMACSHA384.cs
- WebPageTraceListener.cs
- NamedPipeProcessProtocolHandler.cs
- InvalidDataException.cs
- ResetableIterator.cs
- SoapCodeExporter.cs
- TableLayoutPanelCellPosition.cs
- ImageAttributes.cs
- Menu.cs
- PropertyTabAttribute.cs
- ToolStripItemCollection.cs
- DesignerForm.cs
- HtmlInputPassword.cs
- HMACSHA256.cs
- WebPartExportVerb.cs
- GrammarBuilderBase.cs
- While.cs
- Crypto.cs
- WorkflowRuntime.cs
- DisplayInformation.cs
- EdgeProfileValidation.cs
- Light.cs
- DeferredReference.cs
- IPAddress.cs
- DataGridRowDetailsEventArgs.cs
- DashStyles.cs
- ApplicationActivator.cs
- PrintControllerWithStatusDialog.cs
- sqlnorm.cs
- StickyNoteContentControl.cs
- UriSectionReader.cs
- PocoEntityKeyStrategy.cs
- IPHostEntry.cs
- PingOptions.cs
- oledbmetadatacollectionnames.cs
- PersonalizableAttribute.cs
- ColorAnimationBase.cs
- ConfigurationSectionHelper.cs
- BasePattern.cs
- QueryReaderSettings.cs
- CodeGeneratorOptions.cs
- ActivitiesCollection.cs
- SuppressIldasmAttribute.cs
- SEHException.cs
- BatchServiceHost.cs
- RelatedEnd.cs
- RangeValidator.cs
- LineMetrics.cs
- DirectoryNotFoundException.cs
- ReadingWritingEntityEventArgs.cs
- ServiceModelExtensionCollectionElement.cs
- PenThreadPool.cs
- SafeSystemMetrics.cs
- FileDialog.cs