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
- AlphaSortedEnumConverter.cs
- MemoryRecordBuffer.cs
- DefaultTextStoreTextComposition.cs
- StorageRoot.cs
- XamlFilter.cs
- XmlUtil.cs
- MulticastIPAddressInformationCollection.cs
- ImportCatalogPart.cs
- CodeArgumentReferenceExpression.cs
- KeyboardNavigation.cs
- AssemblyNameProxy.cs
- BaseParagraph.cs
- EntityDataSourceStatementEditorForm.cs
- QuaternionAnimation.cs
- TaiwanLunisolarCalendar.cs
- ValidationHelpers.cs
- RegexBoyerMoore.cs
- ResourceAssociationType.cs
- EntityDataSourceEntityTypeFilterItem.cs
- StrokeNodeEnumerator.cs
- ArrayList.cs
- XappLauncher.cs
- MSAANativeProvider.cs
- WindowsSspiNegotiation.cs
- DesignerExtenders.cs
- ProfileService.cs
- PerfProviderCollection.cs
- QilSortKey.cs
- Pick.cs
- ModuleConfigurationInfo.cs
- Cursors.cs
- ElementUtil.cs
- _AutoWebProxyScriptWrapper.cs
- Serializer.cs
- SynchronizingStream.cs
- ToolStripItemEventArgs.cs
- BitmapEffectInputData.cs
- ValidationPropertyAttribute.cs
- PropertyDescriptorComparer.cs
- ResXResourceWriter.cs
- TimelineGroup.cs
- WebServiceErrorEvent.cs
- TreeNode.cs
- ConnectionPoint.cs
- ProxyHwnd.cs
- HostProtectionException.cs
- RedistVersionInfo.cs
- AccessControlList.cs
- CanonicalXml.cs
- WebPartActionVerb.cs
- NameValuePermission.cs
- ApplicationFileParser.cs
- TypeUtils.cs
- TypeHelper.cs
- DispatchWrapper.cs
- NumericUpDown.cs
- ChannelDispatcherCollection.cs
- TemplateFactory.cs
- TemplateControlCodeDomTreeGenerator.cs
- XmlDictionaryReaderQuotas.cs
- TTSEvent.cs
- Method.cs
- RTLAwareMessageBox.cs
- ResourceDescriptionAttribute.cs
- InitializingNewItemEventArgs.cs
- HtmlInputRadioButton.cs
- IsolatedStoragePermission.cs
- Page.cs
- SponsorHelper.cs
- DbConnectionPoolOptions.cs
- FullTrustAssembliesSection.cs
- CapabilitiesState.cs
- DataGridTable.cs
- WindowsStatic.cs
- PtsHelper.cs
- DataMemberFieldEditor.cs
- TextParaClient.cs
- Utils.cs
- ZipIOCentralDirectoryBlock.cs
- PictureBox.cs
- ExpressionBuilder.cs
- _OSSOCK.cs
- Helper.cs
- FormParameter.cs
- ButtonBase.cs
- ServicePointManagerElement.cs
- AdapterUtil.cs
- LogicalChannelCollection.cs
- XmlValidatingReader.cs
- PageFunction.cs
- DSGeneratorProblem.cs
- DbMetaDataCollectionNames.cs
- PhysicalAddress.cs
- EndOfStreamException.cs
- InstanceLockQueryResult.cs
- sortedlist.cs
- XamlSerializerUtil.cs
- Highlights.cs
- KeyGesture.cs
- UnsafeMethods.cs