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
- StylusPointPropertyId.cs
- Graphics.cs
- TimelineGroup.cs
- TextSelectionHelper.cs
- ShaderEffect.cs
- HttpValueCollection.cs
- WebPartDisplayModeCollection.cs
- CodeGenerator.cs
- OuterGlowBitmapEffect.cs
- SettingsProperty.cs
- EntryPointNotFoundException.cs
- DocumentManager.cs
- ImageListImage.cs
- GroupBox.cs
- MemberBinding.cs
- DataGridItemCollection.cs
- ConstructorNeedsTagAttribute.cs
- Translator.cs
- BaseTemplateBuildProvider.cs
- GroupBoxAutomationPeer.cs
- UITypeEditor.cs
- CodeCatchClause.cs
- WebConfigurationHostFileChange.cs
- VisualStates.cs
- ReachUIElementCollectionSerializer.cs
- CharacterBuffer.cs
- ZipIOModeEnforcingStream.cs
- OutputCacheSettingsSection.cs
- Activator.cs
- String.cs
- XmlDomTextWriter.cs
- ProfileModule.cs
- EventToken.cs
- PolyQuadraticBezierSegment.cs
- DefaultValueTypeConverter.cs
- SignerInfo.cs
- ToolStrip.cs
- UidManager.cs
- DesignerLoader.cs
- selecteditemcollection.cs
- HandleTable.cs
- TextStore.cs
- CodeDomConfigurationHandler.cs
- ComplexTypeEmitter.cs
- ProcessRequestAsyncResult.cs
- SchemaHelper.cs
- RelationalExpressions.cs
- DefaultHttpHandler.cs
- TreeNodeCollectionEditor.cs
- Trace.cs
- StylusPointPropertyUnit.cs
- StringFormat.cs
- BitmapFrameEncode.cs
- SecurityDescriptor.cs
- AssociationTypeEmitter.cs
- ProcessModelSection.cs
- DetailsViewPagerRow.cs
- TraversalRequest.cs
- sqlstateclientmanager.cs
- XmlSchemaDatatype.cs
- ProtocolsSection.cs
- BindingParameterCollection.cs
- OpenTypeLayoutCache.cs
- SqlInternalConnectionTds.cs
- OutOfMemoryException.cs
- RecordManager.cs
- HostingPreferredMapPath.cs
- VisualStyleRenderer.cs
- Msec.cs
- AssemblyResourceLoader.cs
- SetStoryboardSpeedRatio.cs
- HtmlTableRow.cs
- IApplicationTrustManager.cs
- DispatchChannelSink.cs
- TextClipboardData.cs
- SemanticKeyElement.cs
- TreeNodeMouseHoverEvent.cs
- XPathArrayIterator.cs
- TextEncodedRawTextWriter.cs
- Schema.cs
- uribuilder.cs
- QueryContinueDragEventArgs.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SafeBitVector32.cs
- PersistenceTypeAttribute.cs
- TargetConverter.cs
- RemotingServices.cs
- SendMailErrorEventArgs.cs
- WebPartConnectionsConnectVerb.cs
- VariantWrapper.cs
- VisualStateChangedEventArgs.cs
- BitStack.cs
- SearchForVirtualItemEventArgs.cs
- MetadataPropertyAttribute.cs
- DictionaryBase.cs
- MobileListItem.cs
- baseaxisquery.cs
- HtmlInputCheckBox.cs
- DataGridState.cs
- SplitContainer.cs