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
- DispatchWrapper.cs
- TextAnchor.cs
- CompareValidator.cs
- UmAlQuraCalendar.cs
- JournalEntryStack.cs
- GenericAuthenticationEventArgs.cs
- InputProviderSite.cs
- DelegatedStream.cs
- ItemAutomationPeer.cs
- SafeMILHandle.cs
- UshortList2.cs
- AppliedDeviceFiltersDialog.cs
- CheckBoxStandardAdapter.cs
- TheQuery.cs
- ExpressionVisitorHelpers.cs
- GZipStream.cs
- ClassHandlersStore.cs
- CodeDirectionExpression.cs
- RootDesignerSerializerAttribute.cs
- BamlTreeMap.cs
- AppDomainShutdownMonitor.cs
- ObsoleteAttribute.cs
- DataBoundControl.cs
- InstalledFontCollection.cs
- TextRangeEditLists.cs
- BindValidationContext.cs
- HybridDictionary.cs
- RayHitTestParameters.cs
- PolicyManager.cs
- UrlParameterReader.cs
- ExtendedProtectionPolicyTypeConverter.cs
- _StreamFramer.cs
- AsyncCompletedEventArgs.cs
- IdentityNotMappedException.cs
- GridErrorDlg.cs
- TableColumn.cs
- MsmqMessage.cs
- Line.cs
- CommandManager.cs
- GeometryGroup.cs
- WebConfigurationFileMap.cs
- XmlLangPropertyAttribute.cs
- SoapSchemaMember.cs
- TransactionChannelFactory.cs
- SpStreamWrapper.cs
- StyleCollection.cs
- Assert.cs
- SqlConnectionPoolGroupProviderInfo.cs
- HttpModuleCollection.cs
- BaseCollection.cs
- Model3D.cs
- WmlObjectListAdapter.cs
- XmlSerializableServices.cs
- SourceChangedEventArgs.cs
- CompilerTypeWithParams.cs
- FormatVersion.cs
- ItemCollection.cs
- XmlTypeMapping.cs
- ConstructorBuilder.cs
- OperandQuery.cs
- DateTimeParse.cs
- DeviceSpecificDialogCachedState.cs
- Metafile.cs
- ListContractAdapter.cs
- SafeHandle.cs
- DocumentApplicationDocumentViewer.cs
- ScriptControlDescriptor.cs
- EventData.cs
- OutputWindow.cs
- SqlStatistics.cs
- URL.cs
- FamilyMapCollection.cs
- LayoutEngine.cs
- StrokeRenderer.cs
- ResourceDictionaryCollection.cs
- Fonts.cs
- Automation.cs
- XmlSchema.cs
- PageOrientation.cs
- Selector.cs
- SourceItem.cs
- FloaterBaseParagraph.cs
- FormViewDeletedEventArgs.cs
- TimeoutValidationAttribute.cs
- SerTrace.cs
- LogManagementAsyncResult.cs
- BindingBase.cs
- OdbcReferenceCollection.cs
- DataBoundControl.cs
- ContainerSelectorGlyph.cs
- Transform.cs
- UIElement3D.cs
- RelatedImageListAttribute.cs
- ObjectDataSourceEventArgs.cs
- UrlAuthFailedErrorFormatter.cs
- PhonemeEventArgs.cs
- DataPagerFieldItem.cs
- RichTextBoxContextMenu.cs
- DataError.cs
- NativeMethods.cs