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
- FormClosedEvent.cs
- TextTrailingCharacterEllipsis.cs
- IPPacketInformation.cs
- TabPanel.cs
- ObjectMemberMapping.cs
- SinglePageViewer.cs
- JsonMessageEncoderFactory.cs
- Activator.cs
- CancellationTokenSource.cs
- DictionarySectionHandler.cs
- LogReservationCollection.cs
- ConnectionModeReader.cs
- RelatedEnd.cs
- initElementDictionary.cs
- InitializationEventAttribute.cs
- SwitchElementsCollection.cs
- ColumnHeader.cs
- CustomTypeDescriptor.cs
- ThreadStateException.cs
- XmlDataFileEditor.cs
- Translator.cs
- HierarchicalDataBoundControlAdapter.cs
- LOSFormatter.cs
- XamlFilter.cs
- CodeDomExtensionMethods.cs
- InstanceDataCollectionCollection.cs
- TCPClient.cs
- MatrixTransform.cs
- MessageQueuePermissionEntry.cs
- TargetInvocationException.cs
- EntityDataSourceDesignerHelper.cs
- PhoneCall.cs
- safex509handles.cs
- StrongNamePublicKeyBlob.cs
- Image.cs
- MemberInitExpression.cs
- ObservableCollection.cs
- KeyProperty.cs
- MainMenu.cs
- RootAction.cs
- TemplateContent.cs
- Label.cs
- DeclarativeCatalogPartDesigner.cs
- StackOverflowException.cs
- ApplicationServiceHelper.cs
- SynchronizationValidator.cs
- HybridDictionary.cs
- LocalizationParserHooks.cs
- ExeContext.cs
- LongPath.cs
- ProxyFragment.cs
- RequestDescription.cs
- MethodAccessException.cs
- MouseEvent.cs
- WindowsListView.cs
- HttpModuleActionCollection.cs
- ChannelProtectionRequirements.cs
- ColorContextHelper.cs
- Span.cs
- RangeEnumerable.cs
- XmlSchemaObjectTable.cs
- BamlResourceDeserializer.cs
- QueryExpr.cs
- bindurihelper.cs
- ConnectionStringsExpressionEditor.cs
- DrawingState.cs
- XmlSortKeyAccumulator.cs
- ValidatedControlConverter.cs
- StringAnimationBase.cs
- AuthenticationConfig.cs
- Predicate.cs
- EntitySqlQueryCacheKey.cs
- SqlMethodCallConverter.cs
- login.cs
- Ipv6Element.cs
- Image.cs
- Listener.cs
- ObfuscationAttribute.cs
- ReliableSession.cs
- ISAPIApplicationHost.cs
- GeneralTransform3D.cs
- ExpressionConverter.cs
- DesignerVerbCollection.cs
- COMException.cs
- AnnotationComponentManager.cs
- XmlDocumentFragment.cs
- Int32CollectionValueSerializer.cs
- CommonDialog.cs
- Roles.cs
- SerializationSectionGroup.cs
- DebugControllerThread.cs
- Semaphore.cs
- PersonalizationStateQuery.cs
- Code.cs
- PropertiesTab.cs
- Win32MouseDevice.cs
- DataViewSettingCollection.cs
- AttributeSetAction.cs
- InputMethod.cs
- ListSourceHelper.cs