Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ReadOnlyHierarchicalDataSourceView.cs
- QilXmlReader.cs
- RectangleF.cs
- ErrorWrapper.cs
- EntityDataSourceChangedEventArgs.cs
- QilScopedVisitor.cs
- DragDropHelper.cs
- SizeF.cs
- TypeSystemHelpers.cs
- DocumentGridContextMenu.cs
- RouteValueExpressionBuilder.cs
- DebuggerService.cs
- EnumBuilder.cs
- StorageRoot.cs
- ElementsClipboardData.cs
- CodeArgumentReferenceExpression.cs
- StateManagedCollection.cs
- TypeHelpers.cs
- WebPartCatalogCloseVerb.cs
- ControlBindingsConverter.cs
- HostingEnvironmentException.cs
- URLAttribute.cs
- PrintDocument.cs
- SimpleWorkerRequest.cs
- DateTimeOffsetStorage.cs
- SafeNativeMethods.cs
- ObjectStateManager.cs
- PropertyChangedEventManager.cs
- DataRowView.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- XmlWhitespace.cs
- DispatcherSynchronizationContext.cs
- UIElementHelper.cs
- NativeMethods.cs
- NamedPipeTransportElement.cs
- RuntimeCompatibilityAttribute.cs
- HttpApplicationFactory.cs
- PreservationFileWriter.cs
- AssociationTypeEmitter.cs
- SafeCryptoHandles.cs
- CodeStatementCollection.cs
- MaskDescriptors.cs
- TableLayout.cs
- MultipartContentParser.cs
- Overlapped.cs
- MimeWriter.cs
- Light.cs
- InternalConfigEventArgs.cs
- DataObjectSettingDataEventArgs.cs
- ProcessHostMapPath.cs
- ExtensionCollection.cs
- FtpRequestCacheValidator.cs
- RuntimeHandles.cs
- ValidationResult.cs
- Button.cs
- NotifyParentPropertyAttribute.cs
- ForceCopyBuildProvider.cs
- TableAutomationPeer.cs
- DataRow.cs
- WindowsToolbarItemAsMenuItem.cs
- XmlSchemaSimpleTypeUnion.cs
- VerificationException.cs
- TransformGroup.cs
- CustomCredentialPolicy.cs
- WpfKnownMemberInvoker.cs
- PipelineDeploymentState.cs
- XmlILOptimizerVisitor.cs
- ControlTemplate.cs
- OutputCacheEntry.cs
- SmtpReplyReaderFactory.cs
- DeferredTextReference.cs
- ContentHostHelper.cs
- RootContext.cs
- Int32.cs
- TransformConverter.cs
- PeerTransportSecuritySettings.cs
- RuntimeConfigLKG.cs
- HostProtectionPermission.cs
- MediaSystem.cs
- ToolStripItemBehavior.cs
- MobileControl.cs
- AutomationElementCollection.cs
- DefaultParameterValueAttribute.cs
- _SpnDictionary.cs
- WebBaseEventKeyComparer.cs
- ObsoleteAttribute.cs
- RightsManagementManager.cs
- XmlSchemaInclude.cs
- SqlGatherConsumedAliases.cs
- CachedPathData.cs
- ConcurrencyBehavior.cs
- HttpCachePolicyElement.cs
- MSG.cs
- ListControlActionList.cs
- DesignerSerializerAttribute.cs
- CacheRequest.cs
- ResXDataNode.cs
- DbReferenceCollection.cs
- TableRow.cs
- SchemaNames.cs