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
- CoTaskMemHandle.cs
- LinkDescriptor.cs
- DataGridViewCellPaintingEventArgs.cs
- RadioButtonFlatAdapter.cs
- HttpProfileBase.cs
- MetadataArtifactLoaderCompositeResource.cs
- StorageEndPropertyMapping.cs
- BrowserTree.cs
- HttpChannelBindingToken.cs
- DefaultBindingPropertyAttribute.cs
- METAHEADER.cs
- AdapterUtil.cs
- ManifestResourceInfo.cs
- Confirm.cs
- GeneralTransform2DTo3DTo2D.cs
- LinqMaximalSubtreeNominator.cs
- FullTrustAssembly.cs
- LayoutManager.cs
- WhitespaceSignificantCollectionAttribute.cs
- BrowserDefinitionCollection.cs
- ScrollBar.cs
- HandoffBehavior.cs
- StringBuilder.cs
- XmlDictionaryReader.cs
- WSHttpTransportSecurityElement.cs
- ApplicationDirectoryMembershipCondition.cs
- DocumentApplication.cs
- BamlLocalizer.cs
- SmtpException.cs
- Label.cs
- Stack.cs
- BindingExpressionUncommonField.cs
- TypeInitializationException.cs
- FindCriteriaApril2005.cs
- EventLog.cs
- HttpWebResponse.cs
- ImageFormatConverter.cs
- Point4D.cs
- ItemType.cs
- GridViewRowPresenterBase.cs
- CodeTypeOfExpression.cs
- TableLayoutPanelCellPosition.cs
- ImportContext.cs
- CodeStatementCollection.cs
- CustomError.cs
- ConcurrentQueue.cs
- ContextStack.cs
- XPathBinder.cs
- OutputCacheSection.cs
- CodeChecksumPragma.cs
- QilIterator.cs
- CharEntityEncoderFallback.cs
- hebrewshape.cs
- xml.cs
- PriorityRange.cs
- ProxyWebPartConnectionCollection.cs
- AppearanceEditorPart.cs
- HashSet.cs
- DbConnectionPoolGroup.cs
- BindingExpression.cs
- ClientSettingsSection.cs
- CapabilitiesUse.cs
- TextElement.cs
- XmlKeywords.cs
- AppLevelCompilationSectionCache.cs
- DetailsViewRowCollection.cs
- OracleConnectionStringBuilder.cs
- KeyGestureConverter.cs
- Privilege.cs
- MethodToken.cs
- BrowserCapabilitiesFactory.cs
- WorkflowDefinitionDispenser.cs
- MsmqIntegrationChannelListener.cs
- Page.cs
- CompressEmulationStream.cs
- TriState.cs
- RoutedEventValueSerializer.cs
- ConnectionPoint.cs
- Help.cs
- ConfigurationException.cs
- NetSectionGroup.cs
- StrokeCollectionDefaultValueFactory.cs
- Message.cs
- TextWriter.cs
- XmlDataSourceView.cs
- ByteStorage.cs
- SupportedAddressingMode.cs
- BitmapPalettes.cs
- CommentGlyph.cs
- WhileDesigner.xaml.cs
- ExpandCollapsePattern.cs
- ThemeableAttribute.cs
- FilterQuery.cs
- odbcmetadatacolumnnames.cs
- EventWaitHandle.cs
- TemplateXamlTreeBuilder.cs
- DesignerSerializationManager.cs
- ServiceMetadataPublishingElement.cs
- QueueProcessor.cs
- ObjectSet.cs