Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- Int32Animation.cs
- SerializerWriterEventHandlers.cs
- UnsupportedPolicyOptionsException.cs
- RegistrationServices.cs
- WebPartEditorOkVerb.cs
- AccessText.cs
- WebWorkflowRole.cs
- ResourceExpression.cs
- DbConnectionInternal.cs
- ValidationHelper.cs
- SpeechSynthesizer.cs
- ScaleTransform.cs
- PolicyValidator.cs
- MasterPageParser.cs
- DoubleAnimationUsingPath.cs
- CanonicalFontFamilyReference.cs
- HScrollProperties.cs
- LessThan.cs
- AudioLevelUpdatedEventArgs.cs
- CommandLibraryHelper.cs
- WorkflowRuntimeServiceElement.cs
- SecurityAccessDeniedException.cs
- WebPartConnectionsConnectVerb.cs
- SessionStateContainer.cs
- PagerSettings.cs
- DiagnosticsConfiguration.cs
- UseAttributeSetsAction.cs
- TypeToken.cs
- WindowsRichEdit.cs
- DocumentDesigner.cs
- Transform3DCollection.cs
- KnownBoxes.cs
- SafeNativeMethodsMilCoreApi.cs
- EditorPartDesigner.cs
- Transform.cs
- entityreference_tresulttype.cs
- RtfToken.cs
- PeerNameRecord.cs
- ThemeConfigurationDialog.cs
- DbCommandDefinition.cs
- PageOutputQuality.cs
- ApplicationCommands.cs
- TypeRefElement.cs
- DataServiceQueryOfT.cs
- EventDescriptor.cs
- OracleCommandBuilder.cs
- WmlFormAdapter.cs
- XmlSchemaSimpleContentExtension.cs
- ListItemViewControl.cs
- AsyncOperation.cs
- COM2PropertyPageUITypeConverter.cs
- UdpDiscoveryEndpoint.cs
- DataBoundControlHelper.cs
- EntityViewGenerationConstants.cs
- WizardPanel.cs
- DomainConstraint.cs
- PersonalizationEntry.cs
- _HeaderInfo.cs
- AdRotator.cs
- OneOfElement.cs
- MessageDecoder.cs
- ParameterCollection.cs
- JsonReader.cs
- InternalResources.cs
- BinaryConverter.cs
- DataControlCommands.cs
- PixelFormat.cs
- HashStream.cs
- LogicalExpr.cs
- BitHelper.cs
- XmlSchemaChoice.cs
- BoundField.cs
- TemplatedWizardStep.cs
- Configuration.cs
- CategoriesDocument.cs
- GenericPrincipal.cs
- SrgsGrammar.cs
- MissingMethodException.cs
- CharUnicodeInfo.cs
- ModelItemDictionary.cs
- HtmlElementCollection.cs
- MetadataArtifactLoaderComposite.cs
- FrameAutomationPeer.cs
- TargetException.cs
- AdCreatedEventArgs.cs
- TransformerInfoCollection.cs
- HttpFormatExtensions.cs
- StrokeNodeOperations2.cs
- CqlLexer.cs
- RichTextBoxConstants.cs
- CommandBindingCollection.cs
- BasicAsyncResult.cs
- SqlXml.cs
- Trustee.cs
- ContextMenu.cs
- ImplicitInputBrush.cs
- ProvidersHelper.cs
- PngBitmapDecoder.cs
- MatrixCamera.cs
- ConfigXmlElement.cs