Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / PreProcessInputEventArgs.cs / 1 / PreProcessInputEventArgs.cs
using System; using System.Security.Permissions; using System.Security; namespace System.Windows.Input { ////// Allows the handler to cancel the processing of an input event. /// ////// An instance of this class is passed to the handlers of the /// following events: /// public sealed class PreProcessInputEventArgs : ProcessInputEventArgs { // Only we can make these. Note that we cache and reuse instances. internal PreProcessInputEventArgs() {} //////
///- ///
////// /// Critical calls ProcessInputEventArgs.Reset ( critical as it handles InputManager) /// [SecurityCritical] internal override void Reset(StagingAreaInputItem input, InputManager inputManager) { _canceled = false; base.Reset(input, inputManager); } ////// Cancels the processing of the input event. /// public void Cancel() { _canceled = true; } ////// Whether or not the input event processing was canceled. /// public bool Canceled {get {return _canceled;}} private bool _canceled; } ////// Delegate type for handles of events that use /// public delegate void PreProcessInputEventHandler(object sender, PreProcessInputEventArgs e); } // 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
- TextFormatterContext.cs
- BufferedStream.cs
- TypeSystemHelpers.cs
- ToolBar.cs
- DataGridViewCellEventArgs.cs
- Divide.cs
- ThreadNeutralSemaphore.cs
- ApplicationActivator.cs
- ApplicationManager.cs
- VerificationAttribute.cs
- OutputWindow.cs
- ConnectionProviderAttribute.cs
- Console.cs
- Point4D.cs
- DBAsyncResult.cs
- MultiPageTextView.cs
- TemplateParser.cs
- AnnotationElement.cs
- NumberAction.cs
- HelpInfo.cs
- SubMenuStyleCollection.cs
- InvalidateEvent.cs
- DataGridViewLinkColumn.cs
- ObjectStateManagerMetadata.cs
- MatrixTransform3D.cs
- MethodAccessException.cs
- DataFieldCollectionEditor.cs
- Nullable.cs
- DesigntimeLicenseContextSerializer.cs
- AmbiguousMatchException.cs
- InputProcessorProfilesLoader.cs
- LoginDesignerUtil.cs
- SizeChangedInfo.cs
- ColumnMap.cs
- XmlSiteMapProvider.cs
- SuppressIldasmAttribute.cs
- TypeLoadException.cs
- Propagator.cs
- QilReplaceVisitor.cs
- FontCacheUtil.cs
- AuthorizationSection.cs
- PropertyChangedEventArgs.cs
- Attributes.cs
- XsltSettings.cs
- AspNetSynchronizationContext.cs
- _SslStream.cs
- UpdateEventArgs.cs
- PropertyTabChangedEvent.cs
- TCEAdapterGenerator.cs
- WebPartVerbsEventArgs.cs
- XmlQueryType.cs
- ListBox.cs
- Polyline.cs
- DictionaryChange.cs
- Model3DCollection.cs
- objectresult_tresulttype.cs
- ChameleonKey.cs
- DataGridViewSelectedCellCollection.cs
- CFStream.cs
- TcpChannelHelper.cs
- ConnectionPoolManager.cs
- HScrollProperties.cs
- LayoutManager.cs
- IFormattable.cs
- Schema.cs
- WebServiceParameterData.cs
- login.cs
- HostVisual.cs
- TreeView.cs
- CustomWebEventKey.cs
- ExpressionBuilderContext.cs
- QueryPageSettingsEventArgs.cs
- PropertyChangedEventManager.cs
- PowerStatus.cs
- SRef.cs
- SchemaElementLookUpTableEnumerator.cs
- XmlSchemaAppInfo.cs
- HtmlTable.cs
- PtsHelper.cs
- FrameworkContentElement.cs
- ResXFileRef.cs
- XsltSettings.cs
- CharacterBufferReference.cs
- Pens.cs
- RelationHandler.cs
- InvalidDataException.cs
- MobileComponentEditorPage.cs
- DecoderExceptionFallback.cs
- AppAction.cs
- TryLoadRunnableWorkflowCommand.cs
- AlphabetConverter.cs
- Adorner.cs
- NonBatchDirectoryCompiler.cs
- SafeFileMapViewHandle.cs
- TextSchema.cs
- MessagePartSpecification.cs
- DirectoryRedirect.cs
- SR.cs
- VSWCFServiceContractGenerator.cs
- ShaderRenderModeValidation.cs