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
- SqlCacheDependencyDatabaseCollection.cs
- CallTemplateAction.cs
- BamlLocalizabilityResolver.cs
- UserControl.cs
- ActivityTypeCodeDomSerializer.cs
- PathGradientBrush.cs
- webbrowsersite.cs
- XamlSerializationHelper.cs
- SourceElementsCollection.cs
- OleDbError.cs
- DropShadowEffect.cs
- LineGeometry.cs
- XmlSchemaAppInfo.cs
- WebException.cs
- DomainUpDown.cs
- ProfileSettingsCollection.cs
- ScrollItemPatternIdentifiers.cs
- KeyTime.cs
- SqlDataSourceRefreshSchemaForm.cs
- EngineSite.cs
- DataSvcMapFile.cs
- UserInitiatedRoutedEventPermission.cs
- DataGridColumnHeadersPresenter.cs
- ProviderException.cs
- SessionSwitchEventArgs.cs
- ThicknessAnimationBase.cs
- FusionWrap.cs
- WebPartUtil.cs
- Nodes.cs
- dataprotectionpermission.cs
- AuthorizationRule.cs
- RegistrySecurity.cs
- CustomAttributeBuilder.cs
- NativeMethodsOther.cs
- SimpleApplicationHost.cs
- coordinatorscratchpad.cs
- ConfigurationSectionGroupCollection.cs
- BevelBitmapEffect.cs
- AsyncPostBackErrorEventArgs.cs
- WebPartRestoreVerb.cs
- TreeViewCancelEvent.cs
- DrawingGroupDrawingContext.cs
- CalendarDay.cs
- GridViewCellAutomationPeer.cs
- DbConnectionHelper.cs
- PostBackOptions.cs
- TimeSpanConverter.cs
- NativeMethods.cs
- StylusButtonCollection.cs
- HttpCapabilitiesEvaluator.cs
- XmlWriterSettings.cs
- TextLineBreak.cs
- ScriptingSectionGroup.cs
- RegexGroup.cs
- ProbeRequestResponseAsyncResult.cs
- TabletCollection.cs
- ToolboxItemCollection.cs
- TypeDelegator.cs
- StyleBamlRecordReader.cs
- DataGridViewToolTip.cs
- WindowsTitleBar.cs
- CodePropertyReferenceExpression.cs
- SqlUtil.cs
- Part.cs
- Page.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- DockAndAnchorLayout.cs
- ACL.cs
- TabletCollection.cs
- DataGridViewCellEventArgs.cs
- TextRunCache.cs
- NetMsmqBinding.cs
- OneWayChannelFactory.cs
- OneOfElement.cs
- ResourceProviderFactory.cs
- LineGeometry.cs
- PagePropertiesChangingEventArgs.cs
- CodeDirectionExpression.cs
- UnsafeNativeMethodsCLR.cs
- WebServiceEnumData.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ParseElementCollection.cs
- RelativeSource.cs
- MultiSelectRootGridEntry.cs
- ListViewInsertEventArgs.cs
- MenuItemStyleCollectionEditor.cs
- TextEditorParagraphs.cs
- _Connection.cs
- SqlBooleanizer.cs
- mediapermission.cs
- DefaultDialogButtons.cs
- RuleAttributes.cs
- StatementContext.cs
- ColorBlend.cs
- OdbcException.cs
- TemplateManager.cs
- GridView.cs
- ObjectDataSourceEventArgs.cs
- UnconditionalPolicy.cs
- WindowsListViewScroll.cs