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
- ChtmlFormAdapter.cs
- OraclePermission.cs
- DataSysAttribute.cs
- DataGridViewImageCell.cs
- LayoutTable.cs
- SoapIgnoreAttribute.cs
- AnnotationStore.cs
- HyperLinkColumn.cs
- Byte.cs
- BulletedList.cs
- ReadOnlyCollection.cs
- MemoryPressure.cs
- DependencyObjectValidator.cs
- EntityConnectionStringBuilder.cs
- XmlUrlResolver.cs
- DocumentViewer.cs
- BitmapEffectInput.cs
- EntityCollection.cs
- DataServiceProviderWrapper.cs
- InputReport.cs
- __Error.cs
- UnsettableComboBox.cs
- ObjectStateFormatter.cs
- RepeaterItemCollection.cs
- TransformValueSerializer.cs
- SynchronizedDisposablePool.cs
- DbMetaDataCollectionNames.cs
- SyncMethodInvoker.cs
- UriSection.cs
- ColorConvertedBitmapExtension.cs
- CodeDOMUtility.cs
- CollectionViewGroupRoot.cs
- PropertyChangedEventArgs.cs
- StylusPointPropertyUnit.cs
- XmlSchemaInfo.cs
- NativeMethodsOther.cs
- XslTransformFileEditor.cs
- ExpandableObjectConverter.cs
- ButtonBase.cs
- WorkflowApplicationAbortedEventArgs.cs
- X509Extension.cs
- ImpersonationContext.cs
- InteropBitmapSource.cs
- PointValueSerializer.cs
- DeploymentSection.cs
- Drawing.cs
- AmbientLight.cs
- TabRenderer.cs
- X509Certificate2.cs
- PackageProperties.cs
- PropertyEntry.cs
- TemplateXamlParser.cs
- SqlClientWrapperSmiStream.cs
- ObjectSecurity.cs
- ResourceWriter.cs
- FileAuthorizationModule.cs
- MouseEvent.cs
- NameNode.cs
- SmtpSection.cs
- LayoutSettings.cs
- NetTcpSectionData.cs
- StorageBasedPackageProperties.cs
- BufferedGraphicsManager.cs
- RowsCopiedEventArgs.cs
- JsonFormatReaderGenerator.cs
- WebSysDescriptionAttribute.cs
- UpdateCommand.cs
- EncoderParameter.cs
- BindingOperations.cs
- ConnectorDragDropGlyph.cs
- RequestUriProcessor.cs
- DBDataPermissionAttribute.cs
- QuotedPrintableStream.cs
- Certificate.cs
- Transform3D.cs
- ApplicationInfo.cs
- WindowsListViewGroupSubsetLink.cs
- DataGridRowsPresenter.cs
- DataContract.cs
- SqlBuffer.cs
- Section.cs
- BitmapVisualManager.cs
- FileDialog_Vista.cs
- MediaCommands.cs
- ExtensionSurface.cs
- WsiProfilesElement.cs
- OrderedDictionary.cs
- InternalDuplexBindingElement.cs
- EditableRegion.cs
- CatalogZone.cs
- DataFormats.cs
- GeneratedCodeAttribute.cs
- GetPageNumberCompletedEventArgs.cs
- NamespaceInfo.cs
- TextRunProperties.cs
- BindingNavigator.cs
- StateValidator.cs
- QueryParameter.cs
- AssemblyNameProxy.cs
- FormsAuthenticationConfiguration.cs