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
- WebPartsSection.cs
- SessionPageStatePersister.cs
- WindowsPrincipal.cs
- SqlDataRecord.cs
- EqualityComparer.cs
- RequestCache.cs
- ObjectTag.cs
- TextTreeUndo.cs
- log.cs
- MessageOperationFormatter.cs
- ItemMap.cs
- X509PeerCertificateAuthenticationElement.cs
- XamlClipboardData.cs
- HttpInputStream.cs
- ArgIterator.cs
- InvalidBodyAccessException.cs
- Splitter.cs
- BitArray.cs
- SoapConverter.cs
- RuntimeHelpers.cs
- StyleModeStack.cs
- BinaryObjectWriter.cs
- HandleExceptionArgs.cs
- COMException.cs
- WorkflowInstanceProxy.cs
- ShutDownListener.cs
- StylusOverProperty.cs
- ExtensionWindowHeader.cs
- SessionPageStateSection.cs
- X509Certificate2.cs
- RegexMatch.cs
- EncodingInfo.cs
- InputLanguageEventArgs.cs
- GeometryValueSerializer.cs
- SqlIdentifier.cs
- ImportOptions.cs
- WebPartsSection.cs
- TimeIntervalCollection.cs
- DataTableReader.cs
- TextEndOfSegment.cs
- BitmapEffectInputData.cs
- ValueType.cs
- JsonCollectionDataContract.cs
- DPTypeDescriptorContext.cs
- ComponentDispatcher.cs
- NestPullup.cs
- XmlAggregates.cs
- DataGridAutoFormat.cs
- SolidColorBrush.cs
- relpropertyhelper.cs
- NumericUpDownAcceleration.cs
- PropertyTabChangedEvent.cs
- MD5.cs
- PasswordTextContainer.cs
- FileDetails.cs
- Number.cs
- DatagridviewDisplayedBandsData.cs
- InternalPolicyElement.cs
- FixedSOMSemanticBox.cs
- SelectionService.cs
- FontConverter.cs
- ObjectStorage.cs
- FileLogRecord.cs
- LayoutInformation.cs
- DataGridViewSortCompareEventArgs.cs
- RelatedPropertyManager.cs
- TextElementCollectionHelper.cs
- DataServiceQueryException.cs
- DecoderReplacementFallback.cs
- Int16AnimationBase.cs
- DataServiceHostFactory.cs
- SmiEventSink_DeferedProcessing.cs
- VerificationAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- CertificateManager.cs
- EntityCollection.cs
- InertiaTranslationBehavior.cs
- ExternalFile.cs
- RegexGroup.cs
- PersistNameAttribute.cs
- XPathScanner.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Token.cs
- CommonObjectSecurity.cs
- UpdatePanel.cs
- ToolStripMenuItemDesigner.cs
- WebPartDisplayModeCollection.cs
- X509IssuerSerialKeyIdentifierClause.cs
- FieldToken.cs
- ConfigurationSectionGroupCollection.cs
- GridView.cs
- DbgCompiler.cs
- StringFunctions.cs
- GridViewCommandEventArgs.cs
- ObjectListDataBindEventArgs.cs
- WebPartVerbCollection.cs
- FontFamilyConverter.cs
- TriggerBase.cs
- CallContext.cs
- ByeMessageCD1.cs