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
- MultiPropertyDescriptorGridEntry.cs
- IndependentAnimationStorage.cs
- OlePropertyStructs.cs
- ConvertersCollection.cs
- RadioButtonBaseAdapter.cs
- XmlWriter.cs
- InitializationEventAttribute.cs
- SettingsPropertyValue.cs
- WmlValidatorAdapter.cs
- SimpleParser.cs
- XmlSchemaElement.cs
- ScriptDescriptor.cs
- TreeNode.cs
- SoapReflectionImporter.cs
- CompilationUtil.cs
- ModuleBuilderData.cs
- OdbcInfoMessageEvent.cs
- ConfigurationPropertyCollection.cs
- SemaphoreFullException.cs
- TargetControlTypeAttribute.cs
- Classification.cs
- CollectionType.cs
- DomNameTable.cs
- OleDbInfoMessageEvent.cs
- RequestCacheManager.cs
- DateTimeParse.cs
- QueryExpr.cs
- BitmapSource.cs
- RoutedUICommand.cs
- ValueQuery.cs
- GetReadStreamResult.cs
- EventLogPermission.cs
- DataGridColumnCollection.cs
- RelationHandler.cs
- ShellProvider.cs
- ActivityTypeDesigner.xaml.cs
- BinaryUtilClasses.cs
- ModelEditingScope.cs
- FilteredAttributeCollection.cs
- RegexMatchCollection.cs
- UnsafeNativeMethods.cs
- RawStylusInputReport.cs
- DeviceContexts.cs
- StructuredTypeEmitter.cs
- HtmlUtf8RawTextWriter.cs
- SamlAdvice.cs
- MarkupCompilePass1.cs
- WindowsContainer.cs
- MultitargetUtil.cs
- MetadataProperty.cs
- XMLUtil.cs
- GreenMethods.cs
- PersonalizationAdministration.cs
- InvokeMethodDesigner.xaml.cs
- XmlNotation.cs
- MarkupWriter.cs
- GeometryGroup.cs
- UntypedNullExpression.cs
- CounterSample.cs
- IpcPort.cs
- Transform.cs
- PropertyPathConverter.cs
- TimeSpanConverter.cs
- FixedHighlight.cs
- panel.cs
- ObjectStateEntryDbDataRecord.cs
- WebPartDisplayMode.cs
- ParserStreamGeometryContext.cs
- ProfileSettingsCollection.cs
- ListComponentEditorPage.cs
- ConnectionProviderAttribute.cs
- XmlNamespaceMapping.cs
- UnsafeNativeMethods.cs
- _HelperAsyncResults.cs
- XmlQuerySequence.cs
- DataBoundLiteralControl.cs
- Bezier.cs
- EnumValidator.cs
- HtmlInputSubmit.cs
- TextTreeRootNode.cs
- WebPartTransformerAttribute.cs
- XPathNodePointer.cs
- DataGridColumnHeader.cs
- NumericUpDownAcceleration.cs
- StringTraceRecord.cs
- RemotingConfigParser.cs
- TextSearch.cs
- AbstractExpressions.cs
- TextCollapsingProperties.cs
- ImageMapEventArgs.cs
- Properties.cs
- MetadataFile.cs
- TreeNodeCollectionEditor.cs
- Rotation3DKeyFrameCollection.cs
- RemotingServices.cs
- Propagator.ExtentPlaceholderCreator.cs
- NumberFormatInfo.cs
- BamlStream.cs
- RangeExpression.cs
- _SSPIWrapper.cs