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
- StylusDownEventArgs.cs
- SerialPinChanges.cs
- RotationValidation.cs
- FileChangesMonitor.cs
- AspCompat.cs
- StoreItemCollection.cs
- Bidi.cs
- SqlConnectionFactory.cs
- DateTimeValueSerializerContext.cs
- BaseCodePageEncoding.cs
- EntityDataSourceSelectingEventArgs.cs
- App.cs
- DeclaredTypeElementCollection.cs
- WebControl.cs
- WindowsStartMenu.cs
- XmlSchemaType.cs
- _emptywebproxy.cs
- AffineTransform3D.cs
- FlatButtonAppearance.cs
- TypeBuilder.cs
- SafeNativeMethodsCLR.cs
- SiteMapProvider.cs
- ReliableMessagingHelpers.cs
- SchemaDeclBase.cs
- SortAction.cs
- ImportContext.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- FormatException.cs
- UnsafeMethods.cs
- RegexInterpreter.cs
- RubberbandSelector.cs
- SiteMapHierarchicalDataSourceView.cs
- Panel.cs
- SmtpException.cs
- DirectoryRedirect.cs
- FileNotFoundException.cs
- DocumentOrderQuery.cs
- _AuthenticationState.cs
- ReadOnlyDataSourceView.cs
- QuaternionAnimationUsingKeyFrames.cs
- VerificationException.cs
- DesignerDataTable.cs
- JournalEntryListConverter.cs
- MessageLoggingFilterTraceRecord.cs
- DrawingBrush.cs
- ItemChangedEventArgs.cs
- TextRangeEditLists.cs
- Point3DValueSerializer.cs
- HtmlForm.cs
- ConversionHelper.cs
- BasePattern.cs
- RenamedEventArgs.cs
- SelectManyQueryOperator.cs
- SecurityUniqueId.cs
- OutKeywords.cs
- DataServiceQuery.cs
- DeviceContext.cs
- SettingsBindableAttribute.cs
- Identity.cs
- TreeNode.cs
- OutputCacheSettingsSection.cs
- NotCondition.cs
- DescendantQuery.cs
- PocoPropertyAccessorStrategy.cs
- SEHException.cs
- SplineQuaternionKeyFrame.cs
- Switch.cs
- EventTask.cs
- FrugalList.cs
- BitmapEffectInput.cs
- DesignerCalendarAdapter.cs
- Vector.cs
- SchemaTableColumn.cs
- SessionEndedEventArgs.cs
- SQLInt32.cs
- UrlAuthFailureHandler.cs
- ObjectStateFormatter.cs
- SqlDataSourceCache.cs
- CodeTypeParameter.cs
- InternalDuplexChannelListener.cs
- PermissionSetEnumerator.cs
- LiteralTextContainerControlBuilder.cs
- Label.cs
- Compensate.cs
- WindowsFormsHost.cs
- DataGridViewComboBoxColumn.cs
- GridViewCellAutomationPeer.cs
- AdPostCacheSubstitution.cs
- DateTimeSerializationSection.cs
- SocketPermission.cs
- ClockController.cs
- IdentitySection.cs
- PackWebRequest.cs
- HttpRequestBase.cs
- CompilerTypeWithParams.cs
- XmlNamespaceMappingCollection.cs
- VectorValueSerializer.cs
- DataExpression.cs
- DisposableCollectionWrapper.cs
- HierarchicalDataTemplate.cs