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
- DataMisalignedException.cs
- XmlNodeReader.cs
- ActionFrame.cs
- AuthenticationModuleElement.cs
- TreeWalkHelper.cs
- WebPartConnectionCollection.cs
- StrongNameKeyPair.cs
- ConnectionManagementSection.cs
- arclist.cs
- WebPartEventArgs.cs
- PagesSection.cs
- CompletedAsyncResult.cs
- InternalConfigSettingsFactory.cs
- externdll.cs
- DecimalAnimation.cs
- CorrelationKeyCalculator.cs
- AlternateView.cs
- BufferModesCollection.cs
- UnsafeNetInfoNativeMethods.cs
- XmlTextAttribute.cs
- DataGridPagerStyle.cs
- AttachedAnnotationChangedEventArgs.cs
- DeviceOverridableAttribute.cs
- SendMailErrorEventArgs.cs
- EnvironmentPermission.cs
- SafeCryptHandles.cs
- QuaternionAnimationUsingKeyFrames.cs
- RelativeSource.cs
- ListParaClient.cs
- BindStream.cs
- BaseCollection.cs
- TCEAdapterGenerator.cs
- TemplateColumn.cs
- GridItemPattern.cs
- PointConverter.cs
- Wow64ConfigurationLoader.cs
- DataGridViewComboBoxColumn.cs
- RoutedEventValueSerializer.cs
- XmlSchemaInferenceException.cs
- SqlGatherProducedAliases.cs
- UpdateManifestForBrowserApplication.cs
- EditingCoordinator.cs
- MessageBox.cs
- NetMsmqBindingElement.cs
- DebugViewWriter.cs
- QilValidationVisitor.cs
- ClientData.cs
- InputScope.cs
- X509PeerCertificateAuthentication.cs
- ToolboxControl.cs
- VerticalConnector.xaml.cs
- DesignSurfaceCollection.cs
- SerializationException.cs
- ProcessModelSection.cs
- AddingNewEventArgs.cs
- Transform3DGroup.cs
- FileChangesMonitor.cs
- RefreshPropertiesAttribute.cs
- IdentityValidationException.cs
- SqlVisitor.cs
- LinqDataSourceView.cs
- ChannelCacheDefaults.cs
- ServiceRoute.cs
- DbReferenceCollection.cs
- XmlSchemaAnnotated.cs
- XamlParser.cs
- SafeCryptoHandles.cs
- DataGridViewLinkColumn.cs
- BitmapEffectState.cs
- FillRuleValidation.cs
- IntSecurity.cs
- DataGridViewCellMouseEventArgs.cs
- NativeMethods.cs
- OutKeywords.cs
- PanelDesigner.cs
- PageRequestManager.cs
- SymLanguageVendor.cs
- SemanticResolver.cs
- ConfigurationValidatorBase.cs
- OracleCommandSet.cs
- RegexRunnerFactory.cs
- printdlgexmarshaler.cs
- LinqDataSourceInsertEventArgs.cs
- MetadataPropertyvalue.cs
- ListControl.cs
- KeyValueSerializer.cs
- EtwTrackingBehaviorElement.cs
- WebPartManagerDesigner.cs
- ChannelManager.cs
- Border.cs
- LicenseProviderAttribute.cs
- WebPartVerbCollection.cs
- FieldMetadata.cs
- RtfToken.cs
- SqlErrorCollection.cs
- GroupQuery.cs
- BitSet.cs
- DateTimeParse.cs
- DataSourceHelper.cs
- PositiveTimeSpanValidatorAttribute.cs