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
- SiteIdentityPermission.cs
- TypeExtensionConverter.cs
- DelegateBodyWriter.cs
- CdpEqualityComparer.cs
- SharedUtils.cs
- TypePresenter.xaml.cs
- Pointer.cs
- XmlSchemaGroupRef.cs
- ModelVisual3D.cs
- Parameter.cs
- ExpressionQuoter.cs
- PropertyGroupDescription.cs
- MetafileEditor.cs
- DoubleStorage.cs
- PolicyValidationException.cs
- SecurityException.cs
- RawKeyboardInputReport.cs
- TextBoxBase.cs
- ListViewAutomationPeer.cs
- DecoderExceptionFallback.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- DSACryptoServiceProvider.cs
- manifestimages.cs
- XmlSchemaSubstitutionGroup.cs
- SqlXml.cs
- Logging.cs
- XpsSerializationManager.cs
- Setter.cs
- CryptoStream.cs
- DiscoveryRequestHandler.cs
- _KerberosClient.cs
- OracleRowUpdatingEventArgs.cs
- TransactionTable.cs
- SqlGatherProducedAliases.cs
- TableRowCollection.cs
- DataGridRow.cs
- BitmapEffect.cs
- WsdlInspector.cs
- ProcessModelSection.cs
- URLEditor.cs
- LineProperties.cs
- CdpEqualityComparer.cs
- ObjectDataSourceDesigner.cs
- PropertyRef.cs
- TraceEventCache.cs
- Exceptions.cs
- smtpconnection.cs
- ExceptionHelpers.cs
- DynamicResourceExtension.cs
- ComboBoxAutomationPeer.cs
- ButtonBase.cs
- TextRunProperties.cs
- LineServicesCallbacks.cs
- TextUtf8RawTextWriter.cs
- WebPartDisplayModeCollection.cs
- SAPIEngineTypes.cs
- AttachedPropertyBrowsableAttribute.cs
- GradientStopCollection.cs
- RootBrowserWindowAutomationPeer.cs
- WebResourceUtil.cs
- SoundPlayer.cs
- HostingEnvironmentSection.cs
- ParserExtension.cs
- MethodImplAttribute.cs
- Privilege.cs
- MenuItem.cs
- SliderAutomationPeer.cs
- MarkupCompilePass2.cs
- LocalBuilder.cs
- BrowsableAttribute.cs
- NamespaceMapping.cs
- OdbcReferenceCollection.cs
- TextBox.cs
- TraceEventCache.cs
- ReferenceEqualityComparer.cs
- HttpModuleActionCollection.cs
- Dispatcher.cs
- ClientProtocol.cs
- ErrorLog.cs
- CodePageEncoding.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DataSourceCacheDurationConverter.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- AccessorTable.cs
- TextControl.cs
- CopyOnWriteList.cs
- MaskPropertyEditor.cs
- EventManager.cs
- ExtensionFile.cs
- FrameworkPropertyMetadata.cs
- JoinCqlBlock.cs
- CssTextWriter.cs
- AlgoModule.cs
- ControlPager.cs
- PolicyStatement.cs
- SelectionPattern.cs
- Classification.cs
- ImageSourceConverter.cs
- SatelliteContractVersionAttribute.cs
- ComplusTypeValidator.cs