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
- DataViewSetting.cs
- CodeGenerator.cs
- ExpressionNormalizer.cs
- Quad.cs
- ProcessManager.cs
- RelationshipConverter.cs
- AutoResizedEvent.cs
- SafeRegistryHandle.cs
- DataGridViewRowConverter.cs
- ToolStripRendererSwitcher.cs
- ThreadExceptionDialog.cs
- XmlElementAttribute.cs
- ItemCheckEvent.cs
- ValueUtilsSmi.cs
- NavigationWindowAutomationPeer.cs
- MessageAction.cs
- DataGridViewCheckBoxColumn.cs
- Point3DAnimationBase.cs
- FixedSOMSemanticBox.cs
- Keywords.cs
- ObjectParameterCollection.cs
- IODescriptionAttribute.cs
- TdsEnums.cs
- QilPatternVisitor.cs
- _FtpDataStream.cs
- XmlDocumentSurrogate.cs
- Rotation3DAnimationBase.cs
- CodeObject.cs
- TimelineGroup.cs
- OperandQuery.cs
- LZCodec.cs
- CustomCategoryAttribute.cs
- WorkflowApplicationTerminatedException.cs
- UriTemplateDispatchFormatter.cs
- EntityClassGenerator.cs
- HttpFileCollection.cs
- PartitionedStreamMerger.cs
- EasingKeyFrames.cs
- HttpHandlersSection.cs
- SafeCryptContextHandle.cs
- JavaScriptSerializer.cs
- XmlLanguageConverter.cs
- CodeActivity.cs
- ObjectView.cs
- ItemList.cs
- PrivilegeNotHeldException.cs
- GridViewRowPresenterBase.cs
- VersionPair.cs
- UnsafeNativeMethods.cs
- BrowserCapabilitiesCodeGenerator.cs
- SqlDataSourceQueryEditorForm.cs
- wmiprovider.cs
- ObjectContext.cs
- XmlCharCheckingReader.cs
- ReferenceService.cs
- ControlCollection.cs
- DragEvent.cs
- Animatable.cs
- DataServiceContext.cs
- SQLGuidStorage.cs
- CachedPathData.cs
- Menu.cs
- ClientApiGenerator.cs
- LayoutTable.cs
- CombinedGeometry.cs
- SectionInformation.cs
- GACMembershipCondition.cs
- ComponentEditorForm.cs
- CommandHelpers.cs
- XmlCodeExporter.cs
- COM2ColorConverter.cs
- PropertyItemInternal.cs
- InkPresenterAutomationPeer.cs
- ObjectResult.cs
- NameValueFileSectionHandler.cs
- XmlSchemaElement.cs
- NativeCppClassAttribute.cs
- KeyNotFoundException.cs
- ProxyHwnd.cs
- baseaxisquery.cs
- XmlDocument.cs
- Brush.cs
- DataGridViewMethods.cs
- WSSecureConversationDec2005.cs
- EnvelopeVersion.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PersistenceProviderElement.cs
- TypeExtensions.cs
- CompilerErrorCollection.cs
- CacheMode.cs
- FontClient.cs
- XmlTypeMapping.cs
- ExpressionVisitorHelpers.cs
- ChangePasswordDesigner.cs
- VirtualPath.cs
- ApplicationDirectory.cs
- DefinitionBase.cs
- WrappedIUnknown.cs
- TypeValidationEventArgs.cs
- RelationshipEntry.cs