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
- RegexMatch.cs
- TextureBrush.cs
- SmiSettersStream.cs
- TextEncodedRawTextWriter.cs
- FixedSOMElement.cs
- PeerObject.cs
- TraceContextRecord.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- EntitySetBase.cs
- Matrix.cs
- ReturnValue.cs
- StrongNameSignatureInformation.cs
- PositiveTimeSpanValidator.cs
- FieldCollectionEditor.cs
- ExternalException.cs
- ButtonFlatAdapter.cs
- RandomDelaySendsAsyncResult.cs
- DragEventArgs.cs
- Int16Animation.cs
- ProfileInfo.cs
- FlowLayoutPanel.cs
- NonValidatingSecurityTokenAuthenticator.cs
- PeerCollaboration.cs
- StreamResourceInfo.cs
- AstNode.cs
- GeometryCollection.cs
- AlphaSortedEnumConverter.cs
- DesignerFrame.cs
- InfoCardPolicy.cs
- OperationResponse.cs
- DataGridParentRows.cs
- UIElement3DAutomationPeer.cs
- CodeCompileUnit.cs
- ToolboxComponentsCreatedEventArgs.cs
- SqlNodeAnnotation.cs
- LoaderAllocator.cs
- MetadataArtifactLoaderComposite.cs
- ConfigPathUtility.cs
- NetworkCredential.cs
- PrintEvent.cs
- ControlFilterExpression.cs
- NodeInfo.cs
- ZipFileInfoCollection.cs
- IndexObject.cs
- UrlPath.cs
- LogSwitch.cs
- Int32Rect.cs
- RawStylusSystemGestureInputReport.cs
- ReliableRequestSessionChannel.cs
- IBuiltInEvidence.cs
- DelimitedListTraceListener.cs
- smtppermission.cs
- ForceCopyBuildProvider.cs
- GridViewDeleteEventArgs.cs
- ProxyWebPart.cs
- MethodBuilderInstantiation.cs
- AgileSafeNativeMemoryHandle.cs
- CqlBlock.cs
- ResourceBinder.cs
- HttpCookieCollection.cs
- ModelVisual3D.cs
- NumberSubstitution.cs
- FilterQueryOptionExpression.cs
- WorkflowApplicationIdleEventArgs.cs
- errorpatternmatcher.cs
- SecureEnvironment.cs
- XPathItem.cs
- SetUserLanguageRequest.cs
- EntryIndex.cs
- DefaultValueConverter.cs
- SqlBuffer.cs
- ResourceKey.cs
- Schedule.cs
- SqlDelegatedTransaction.cs
- XmlNamedNodeMap.cs
- AnnotationDocumentPaginator.cs
- UnionExpr.cs
- ScalarOps.cs
- DbProviderFactoriesConfigurationHandler.cs
- WebPartAddingEventArgs.cs
- XamlTemplateSerializer.cs
- InstanceLockLostException.cs
- AspNetHostingPermission.cs
- StringBuilder.cs
- SpotLight.cs
- ShapingWorkspace.cs
- MultiPageTextView.cs
- ConfigurationValue.cs
- CodeLabeledStatement.cs
- ValidatorUtils.cs
- Cloud.cs
- precedingquery.cs
- LabelAutomationPeer.cs
- ConfigXmlCDataSection.cs
- TempEnvironment.cs
- HitTestParameters.cs
- MediaPlayerState.cs
- GridItemPattern.cs
- AssemblyAssociatedContentFileAttribute.cs
- CodeLabeledStatement.cs