Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / NotifyInputEventArgs.cs / 1 / NotifyInputEventArgs.cs
using System; using System.Collections; using System.Security.Permissions; using System.Security ; using MS.Internal; using MS.Internal.PresentationCore; // SecurityHelper namespace System.Windows.Input { ////// Provides information about an input event being processed by the /// input manager. /// ////// An instance of this class, or a derived class, is passed to the /// handlers of the following events: /// public class NotifyInputEventArgs : EventArgs { // Only we can make these. Note that we cache and reuse instances. internal NotifyInputEventArgs() {} //////
////// Critical - InputManager passed in is critical data. /// [SecurityCritical] internal virtual void Reset(StagingAreaInputItem input, InputManager inputManager) { _input = input; _inputManager = inputManager; } ////// The staging area input item being processed by the input /// manager. /// public StagingAreaInputItem StagingItem {get {return _input;}} ////// The input manager processing the input event. /// ////// Callers must have UIPermission(PermissionState.Unrestricted) to call this API. /// ////// Critical - input manager is critical /// PublicOK - there's a demand. /// public InputManager InputManager { [SecurityCritical ] get { SecurityHelper.DemandUnrestrictedUIPermission(); return _inputManager; } } ////// The input manager processing the input event. /// *** FOR INTERNAL USE ONLY **** /// ////// Critical - input manager is critical /// internal InputManager UnsecureInputManager { [SecurityCritical] get { return _inputManager; } } private StagingAreaInputItem _input; ////// Critical data as InputManager ctor is critical. /// [SecurityCritical] private InputManager _inputManager; } ////// Delegate type for handles of events that use /// public delegate void NotifyInputEventHandler(object sender, NotifyInputEventArgs 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
- MethodSignatureGenerator.cs
- NameValuePermission.cs
- UnsafeNativeMethods.cs
- LinqExpressionNormalizer.cs
- RawStylusActions.cs
- SiteMapPath.cs
- Stopwatch.cs
- ScriptManagerProxy.cs
- StateBag.cs
- MetadataPropertyCollection.cs
- PropertyEntry.cs
- SubpageParaClient.cs
- ConfigurationStrings.cs
- LicFileLicenseProvider.cs
- ViewManager.cs
- KnownBoxes.cs
- HtmlFormParameterReader.cs
- AuthenticationSection.cs
- DocumentViewer.cs
- ImageIndexEditor.cs
- CounterCreationDataCollection.cs
- GeneratedContractType.cs
- ControlBuilderAttribute.cs
- XPathMultyIterator.cs
- HttpAsyncResult.cs
- GridViewColumnCollection.cs
- CodeArgumentReferenceExpression.cs
- HtmlElementErrorEventArgs.cs
- Win32Native.cs
- SoapReflectionImporter.cs
- ElementInit.cs
- SqlClientPermission.cs
- FlowStep.cs
- SqlGenericUtil.cs
- SynchronizedMessageSource.cs
- ScrollPattern.cs
- DataPointer.cs
- NamespaceInfo.cs
- ByteRangeDownloader.cs
- IsolatedStorageSecurityState.cs
- COM2PropertyDescriptor.cs
- DbMetaDataFactory.cs
- SpellerError.cs
- Container.cs
- Point3DCollectionValueSerializer.cs
- ReflectionUtil.cs
- XmlValidatingReader.cs
- RelOps.cs
- XmlSchemaInclude.cs
- TextUtf8RawTextWriter.cs
- TextParagraphCache.cs
- Point3DKeyFrameCollection.cs
- StrokeCollectionDefaultValueFactory.cs
- FormViewCommandEventArgs.cs
- RuleDefinitions.cs
- PageEventArgs.cs
- User.cs
- KeyValueInternalCollection.cs
- BlurEffect.cs
- PropertyTab.cs
- XamlStyleSerializer.cs
- AuthenticationConfig.cs
- ActivityContext.cs
- ImportCatalogPart.cs
- AppDomainShutdownMonitor.cs
- NativeMethodsOther.cs
- CreateUserWizardStep.cs
- MessageEncoderFactory.cs
- LogSwitch.cs
- PartialCachingAttribute.cs
- SrgsDocument.cs
- RangeBaseAutomationPeer.cs
- ColorPalette.cs
- Preprocessor.cs
- Repeater.cs
- BoolExpression.cs
- BlobPersonalizationState.cs
- PolicyChain.cs
- OdbcErrorCollection.cs
- Timer.cs
- PrintDocument.cs
- PropertyTabChangedEvent.cs
- MatrixConverter.cs
- TemplateBindingExtension.cs
- XPathDescendantIterator.cs
- BitmapEffectCollection.cs
- ObjectList.cs
- ZipIOCentralDirectoryFileHeader.cs
- XmlName.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- AuthorizationSection.cs
- ResourceManager.cs
- StringUtil.cs
- TableParagraph.cs
- WmiEventSink.cs
- ContentElementAutomationPeer.cs
- DataRecordObjectView.cs
- SqlBulkCopyColumnMappingCollection.cs
- CqlParser.cs
- ToolStripMenuItem.cs