Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataServices.cs
- MethodImplAttribute.cs
- SchemaRegistration.cs
- safex509handles.cs
- RequestBringIntoViewEventArgs.cs
- ValueTable.cs
- LateBoundBitmapDecoder.cs
- SafeNativeMethods.cs
- DocumentPageViewAutomationPeer.cs
- UnaryExpression.cs
- SqlDataSourceView.cs
- XmlDataDocument.cs
- VariableBinder.cs
- VersionedStreamOwner.cs
- COM2Properties.cs
- TextProviderWrapper.cs
- ObjectHandle.cs
- CompilerTypeWithParams.cs
- ListViewContainer.cs
- XmlDataDocument.cs
- GrammarBuilderBase.cs
- EventDescriptor.cs
- OutOfProcStateClientManager.cs
- ScriptingProfileServiceSection.cs
- MatrixCamera.cs
- TextTreeFixupNode.cs
- KeyMatchBuilder.cs
- GridPattern.cs
- EditorPartCollection.cs
- HttpHandlersSection.cs
- CryptoStream.cs
- EditBehavior.cs
- SqlServer2KCompatibilityAnnotation.cs
- PointConverter.cs
- DefinitionBase.cs
- HtmlTextArea.cs
- TypedElement.cs
- WebConfigurationHostFileChange.cs
- XmlIlGenerator.cs
- ProtocolElementCollection.cs
- ProgressBarAutomationPeer.cs
- ToolStripRendererSwitcher.cs
- GenerateTemporaryTargetAssembly.cs
- List.cs
- WebCategoryAttribute.cs
- XhtmlConformanceSection.cs
- WebPartConnectionsConfigureVerb.cs
- BrowsableAttribute.cs
- UnsafePeerToPeerMethods.cs
- Span.cs
- ParallelTimeline.cs
- WindowsTooltip.cs
- COM2Properties.cs
- ConnectionsZone.cs
- EpmContentSerializerBase.cs
- NodeInfo.cs
- SortableBindingList.cs
- SqlServices.cs
- ResizeGrip.cs
- SiteMapNodeItem.cs
- WasEndpointConfigContainer.cs
- XmlDataSourceNodeDescriptor.cs
- ToolStripOverflow.cs
- PersonalizablePropertyEntry.cs
- HierarchicalDataSourceControl.cs
- XmlAtomicValue.cs
- EventLog.cs
- wmiutil.cs
- TabControlEvent.cs
- CommandDesigner.cs
- BaseServiceProvider.cs
- ResourcePermissionBaseEntry.cs
- WindowsListViewScroll.cs
- ReceiveErrorHandling.cs
- ProvidersHelper.cs
- PrtTicket_Public.cs
- Int64Converter.cs
- WebZone.cs
- HttpResponseInternalWrapper.cs
- Exceptions.cs
- SR.cs
- GridSplitter.cs
- CharEntityEncoderFallback.cs
- UnaryOperationBinder.cs
- DetailsViewUpdatedEventArgs.cs
- AuthenticateEventArgs.cs
- Win32.cs
- PathGeometry.cs
- ListMarkerSourceInfo.cs
- oledbmetadatacollectionnames.cs
- SourceLineInfo.cs
- BufferedReadStream.cs
- CssTextWriter.cs
- RoutedUICommand.cs
- CodeTypeReferenceExpression.cs
- Int32EqualityComparer.cs
- JsonEnumDataContract.cs
- HelpEvent.cs
- ExceptionUtil.cs
- DivideByZeroException.cs