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
- EditorPartChrome.cs
- SqlAggregateChecker.cs
- VisualState.cs
- CultureTableRecord.cs
- OciEnlistContext.cs
- ReadingWritingEntityEventArgs.cs
- SimpleType.cs
- TypeFieldSchema.cs
- RepeatBehavior.cs
- PartManifestEntry.cs
- SqlServices.cs
- panel.cs
- DockPanel.cs
- EventInfo.cs
- ConfigUtil.cs
- WebPartDisplayModeCollection.cs
- XslAstAnalyzer.cs
- MouseGestureConverter.cs
- AttachInfo.cs
- EntityDataSourceDataSelection.cs
- CodeNamespaceImport.cs
- FileDetails.cs
- ElementProxy.cs
- FixedTextBuilder.cs
- WindowsAuthenticationModule.cs
- KeyBinding.cs
- DataRelationPropertyDescriptor.cs
- PasswordRecovery.cs
- X509ServiceCertificateAuthenticationElement.cs
- SQLBinaryStorage.cs
- Lease.cs
- OperationValidationEventArgs.cs
- TagPrefixInfo.cs
- WindowsSlider.cs
- SdlChannelSink.cs
- SessionStateModule.cs
- Parser.cs
- ProjectionAnalyzer.cs
- TerminatorSinks.cs
- CapabilitiesSection.cs
- Properties.cs
- SettingsBase.cs
- MultitargetUtil.cs
- odbcmetadatacollectionnames.cs
- EventLog.cs
- PageWrapper.cs
- InkCanvas.cs
- XsdBuildProvider.cs
- NativeRecognizer.cs
- OrderByBuilder.cs
- ExternalException.cs
- Calendar.cs
- Int32RectConverter.cs
- StickyNoteHelper.cs
- WindowsGraphics.cs
- AuditLogLocation.cs
- ManipulationInertiaStartingEventArgs.cs
- WebPartCloseVerb.cs
- PropertyItem.cs
- HostProtectionException.cs
- TypeConverters.cs
- ContextMarshalException.cs
- HMACRIPEMD160.cs
- SafeThreadHandle.cs
- NativeMethods.cs
- ObjectTokenCategory.cs
- ComplexBindingPropertiesAttribute.cs
- ProtocolsSection.cs
- XmlExtensionFunction.cs
- MultiView.cs
- HttpModuleCollection.cs
- XmlAnyAttributeAttribute.cs
- basecomparevalidator.cs
- backend.cs
- MenuItemCollectionEditorDialog.cs
- Timeline.cs
- TreeNodeStyleCollection.cs
- MD5.cs
- InternalConfigConfigurationFactory.cs
- RectAnimation.cs
- FixedSOMLineCollection.cs
- OrderedHashRepartitionStream.cs
- CombinedGeometry.cs
- XmlCountingReader.cs
- LinqDataSourceDeleteEventArgs.cs
- CodeNamespaceCollection.cs
- CacheSection.cs
- CodeAttributeDeclaration.cs
- ListViewTableCell.cs
- FieldAccessException.cs
- FormViewUpdateEventArgs.cs
- ReceiveSecurityHeaderElementManager.cs
- DataViewSetting.cs
- JavaScriptSerializer.cs
- StickyNoteContentControl.cs
- TextLineBreak.cs
- PerformanceCounters.cs
- TempEnvironment.cs
- Point3D.cs
- PasswordBoxAutomationPeer.cs