Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / PreProcessInputEventArgs.cs / 1305600 / 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
- PageClientProxyGenerator.cs
- Wizard.cs
- WinFormsComponentEditor.cs
- DeploymentSection.cs
- FieldNameLookup.cs
- AttributeCollection.cs
- PromptEventArgs.cs
- TemplateBaseAction.cs
- SmtpReplyReaderFactory.cs
- ServiceEndpoint.cs
- CodeDirectoryCompiler.cs
- SpeechEvent.cs
- PerformanceCounterManager.cs
- SoapSchemaMember.cs
- MenuItemStyle.cs
- MsmqException.cs
- PolygonHotSpot.cs
- XpsFilter.cs
- XPathNodeIterator.cs
- Size3DValueSerializer.cs
- WebPartDescription.cs
- PropertyToken.cs
- EmptyCollection.cs
- TableLayoutSettingsTypeConverter.cs
- BaseUriHelper.cs
- UpdateCommandGenerator.cs
- DispatcherProcessingDisabled.cs
- EncoderParameter.cs
- SortableBindingList.cs
- CaretElement.cs
- PointLightBase.cs
- IArgumentProvider.cs
- ScriptManager.cs
- StatusBar.cs
- FacetDescriptionElement.cs
- IndexedEnumerable.cs
- HtmlValidationSummaryAdapter.cs
- LoginDesigner.cs
- AppSettingsExpressionBuilder.cs
- DataGridViewBindingCompleteEventArgs.cs
- PreloadedPackages.cs
- Point.cs
- InstanceKeyNotReadyException.cs
- PointIndependentAnimationStorage.cs
- DataSourceDescriptorCollection.cs
- WorkflowRuntimeService.cs
- PropertyGeneratedEventArgs.cs
- ContainerSelectorGlyph.cs
- WebPartConnectVerb.cs
- PatternMatcher.cs
- Boolean.cs
- FunctionDetailsReader.cs
- DrawingContextWalker.cs
- ClientProxyGenerator.cs
- InfiniteTimeSpanConverter.cs
- SqlReferenceCollection.cs
- RegexGroupCollection.cs
- DataGridParentRows.cs
- ReadOnlyTernaryTree.cs
- ArrayElementGridEntry.cs
- ProgramPublisher.cs
- ImageDrawing.cs
- SignatureResourcePool.cs
- ParameterCollection.cs
- SafeFindHandle.cs
- UIElementPropertyUndoUnit.cs
- PageCodeDomTreeGenerator.cs
- MeshGeometry3D.cs
- XPathNodeInfoAtom.cs
- MasterPageParser.cs
- SourceFileBuildProvider.cs
- BaseParser.cs
- ServiceRouteHandler.cs
- TextRangeEditLists.cs
- EntityDataSourceView.cs
- XmlEntityReference.cs
- ServiceModelTimeSpanValidator.cs
- BooleanConverter.cs
- GridViewSelectEventArgs.cs
- CodeNamespace.cs
- hwndwrapper.cs
- CompilationUtil.cs
- ContourSegment.cs
- FixedPageStructure.cs
- DataControlButton.cs
- IntSumAggregationOperator.cs
- TableLayoutStyle.cs
- TextDecorationLocationValidation.cs
- XmlCDATASection.cs
- FtpRequestCacheValidator.cs
- DataObjectAttribute.cs
- CompilerWrapper.cs
- MasterPageBuildProvider.cs
- XmlReflectionImporter.cs
- CodeTypeReferenceCollection.cs
- _DigestClient.cs
- TextBlock.cs
- FontStyleConverter.cs
- IdleTimeoutMonitor.cs
- Delay.cs