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
- GridViewCommandEventArgs.cs
- ListControlActionList.cs
- XD.cs
- Transform3DGroup.cs
- SessionEndingEventArgs.cs
- OutputCacheSettings.cs
- SettingsPropertyNotFoundException.cs
- IQueryable.cs
- Trace.cs
- Timer.cs
- SelectionRangeConverter.cs
- DBConnection.cs
- UniqueConstraint.cs
- UIPermission.cs
- Ray3DHitTestResult.cs
- Matrix3DStack.cs
- PageBorderless.cs
- AbstractSvcMapFileLoader.cs
- HideDisabledControlAdapter.cs
- EventSinkHelperWriter.cs
- PseudoWebRequest.cs
- Formatter.cs
- SEHException.cs
- CollectionChangedEventManager.cs
- ProcessDesigner.cs
- ModuleElement.cs
- TemplateBindingExpressionConverter.cs
- Error.cs
- OutputWindow.cs
- RectangleF.cs
- SyndicationDeserializer.cs
- UpdateProgress.cs
- XmlUTF8TextWriter.cs
- TypeExtensionConverter.cs
- relpropertyhelper.cs
- DBSqlParserTableCollection.cs
- SqlDataSourceQueryEditorForm.cs
- MailDefinition.cs
- FontClient.cs
- ThicknessAnimationBase.cs
- X509UI.cs
- GridErrorDlg.cs
- ProcessModuleCollection.cs
- GridViewUpdateEventArgs.cs
- SharedHttpsTransportManager.cs
- MailHeaderInfo.cs
- RootDesignerSerializerAttribute.cs
- DelegateSerializationHolder.cs
- BuilderElements.cs
- SQLDouble.cs
- TreeViewBindingsEditor.cs
- JournalEntry.cs
- XmlAnyElementAttributes.cs
- DataSourceExpressionCollection.cs
- HttpHandlerAction.cs
- WebBrowserUriTypeConverter.cs
- SafeHandle.cs
- ProtocolsConfigurationEntry.cs
- XmlReaderSettings.cs
- CapabilitiesAssignment.cs
- DBConnectionString.cs
- CollectionView.cs
- IndicFontClient.cs
- InfoCardMasterKey.cs
- SQLChars.cs
- WebPartVerbCollection.cs
- CharacterBufferReference.cs
- PropertyFilterAttribute.cs
- DataControlFieldTypeEditor.cs
- ExclusiveCanonicalizationTransform.cs
- Storyboard.cs
- SrgsRule.cs
- CssTextWriter.cs
- SQlBooleanStorage.cs
- SessionStateContainer.cs
- MenuItemAutomationPeer.cs
- GroupBoxRenderer.cs
- MemberHolder.cs
- ScalarConstant.cs
- PropertyGroupDescription.cs
- SinglePageViewer.cs
- QueryableDataSourceEditData.cs
- TranslateTransform.cs
- EndpointBehaviorElement.cs
- XPathNavigator.cs
- EdmType.cs
- PropertyValueUIItem.cs
- StylusButtonEventArgs.cs
- ListView.cs
- TextServicesHost.cs
- SHA1.cs
- XmlBoundElement.cs
- WindowsAuthenticationModule.cs
- WebSysDescriptionAttribute.cs
- ProgressBar.cs
- TreeNodeBindingCollection.cs
- SiteMapNodeCollection.cs
- ToolStripMenuItemDesigner.cs
- UndoManager.cs
- XmlNamespaceMapping.cs