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
- BatchStream.cs
- Symbol.cs
- ScriptingWebServicesSectionGroup.cs
- DbTransaction.cs
- DataColumnMapping.cs
- SmtpException.cs
- ReferentialConstraint.cs
- CodeBlockBuilder.cs
- MatchingStyle.cs
- FormViewCommandEventArgs.cs
- TextRangeEditTables.cs
- _NestedMultipleAsyncResult.cs
- MSAANativeProvider.cs
- ThicknessAnimationBase.cs
- ReferenceConverter.cs
- DataSourceControlBuilder.cs
- DateTimeFormatInfo.cs
- DataControlPagerLinkButton.cs
- SizeAnimationClockResource.cs
- QueryOutputWriterV1.cs
- hwndwrapper.cs
- Message.cs
- DataGridViewRowPrePaintEventArgs.cs
- FixedHighlight.cs
- DuplicateWaitObjectException.cs
- XmlSerializableServices.cs
- ConfigErrorGlyph.cs
- TransformValueSerializer.cs
- PartitionResolver.cs
- ECDiffieHellmanCngPublicKey.cs
- WSSecureConversationFeb2005.cs
- WrapperEqualityComparer.cs
- ObjectSelectorEditor.cs
- XamlFigureLengthSerializer.cs
- sitestring.cs
- Query.cs
- SearchForVirtualItemEventArgs.cs
- TemplateBindingExtension.cs
- Light.cs
- ListViewGroupConverter.cs
- Vector3D.cs
- OutOfProcStateClientManager.cs
- ViewSimplifier.cs
- Point4DValueSerializer.cs
- MemberRestriction.cs
- WindowsListViewItemCheckBox.cs
- PropertyTabChangedEvent.cs
- EventRoute.cs
- RuntimeVariableList.cs
- listitem.cs
- SingleKeyFrameCollection.cs
- RouteItem.cs
- RangeValueProviderWrapper.cs
- DataListAutoFormat.cs
- MarkupExtensionReturnTypeAttribute.cs
- SwitchLevelAttribute.cs
- DockPattern.cs
- BuildProviderAppliesToAttribute.cs
- IOException.cs
- Vector3DCollectionValueSerializer.cs
- RIPEMD160Managed.cs
- FixedBufferAttribute.cs
- AssociationTypeEmitter.cs
- EdmMember.cs
- _SafeNetHandles.cs
- AutomationIdentifierGuids.cs
- AuthenticationConfig.cs
- StorageAssociationTypeMapping.cs
- PriorityQueue.cs
- DoubleLinkListEnumerator.cs
- Filter.cs
- CompilerWrapper.cs
- DataIdProcessor.cs
- SqlVersion.cs
- StateWorkerRequest.cs
- Tokenizer.cs
- PerformanceCountersBase.cs
- CfgParser.cs
- EntityStoreSchemaFilterEntry.cs
- EntityContainerAssociationSetEnd.cs
- DynamicPropertyHolder.cs
- DbException.cs
- GPStream.cs
- SystemEvents.cs
- TextRunProperties.cs
- TemplatedAdorner.cs
- TopClause.cs
- MultiView.cs
- FlowDecisionLabelFeature.cs
- HtmlTable.cs
- DynamicActionMessageFilter.cs
- SQLConvert.cs
- PathSegment.cs
- DbCommandTree.cs
- PopupRoot.cs
- basemetadatamappingvisitor.cs
- XmlSerializerSection.cs
- PersonalizationStateInfo.cs
- AvtEvent.cs
- PackageProperties.cs