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
- TransactedBatchContext.cs
- ProxyFragment.cs
- TextEffectCollection.cs
- FontUnit.cs
- SemanticTag.cs
- WorkflowServiceHost.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- TableItemStyle.cs
- TimeoutTimer.cs
- DayRenderEvent.cs
- LocalFileSettingsProvider.cs
- brushes.cs
- InternalConfigHost.cs
- ColorAnimationBase.cs
- PropertyEmitter.cs
- AstNode.cs
- AssemblyBuilder.cs
- FileLogRecord.cs
- SqlErrorCollection.cs
- NegotiateStream.cs
- ManagedFilter.cs
- XmlReaderDelegator.cs
- HtmlPanelAdapter.cs
- EntityTypeEmitter.cs
- MutexSecurity.cs
- NativeWrapper.cs
- ColorContextHelper.cs
- DeobfuscatingStream.cs
- PtsHost.cs
- GPStream.cs
- AndCondition.cs
- TakeQueryOptionExpression.cs
- KeyTimeConverter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- BamlTreeUpdater.cs
- DataServices.cs
- MobileCapabilities.cs
- KnownBoxes.cs
- Stack.cs
- SafeCryptoHandles.cs
- PropertyMetadata.cs
- SmtpClient.cs
- ControlPaint.cs
- Context.cs
- RadioButtonBaseAdapter.cs
- WebPartActionVerb.cs
- Literal.cs
- Quaternion.cs
- SqlDataSourceEnumerator.cs
- XmlILModule.cs
- DataGridViewColumnCollectionEditor.cs
- SystemTcpStatistics.cs
- Page.cs
- SqlServices.cs
- DataGridViewRowCollection.cs
- DataGridViewHeaderCell.cs
- SimpleType.cs
- RectAnimation.cs
- XmlSchemaComplexContentRestriction.cs
- SoundPlayerAction.cs
- HandlerWithFactory.cs
- ProxyWebPart.cs
- RegexReplacement.cs
- Timer.cs
- UndoManager.cs
- PersonalizationDictionary.cs
- SqlMethodTransformer.cs
- HttpListenerContext.cs
- HostingEnvironment.cs
- COM2PictureConverter.cs
- TableItemProviderWrapper.cs
- Utils.cs
- GenericEnumerator.cs
- DiagnosticSection.cs
- SafeNativeMethodsCLR.cs
- SectionRecord.cs
- Clause.cs
- SubMenuStyleCollection.cs
- MobileCategoryAttribute.cs
- MessageFormatterConverter.cs
- XmlSchemaExporter.cs
- LogSwitch.cs
- RuntimeHandles.cs
- DriveNotFoundException.cs
- SessionPageStatePersister.cs
- MailMessage.cs
- ToolStripPanelCell.cs
- _StreamFramer.cs
- EventProviderWriter.cs
- CssClassPropertyAttribute.cs
- GroupedContextMenuStrip.cs
- EdmMember.cs
- WeakRefEnumerator.cs
- ManipulationDeltaEventArgs.cs
- DBSchemaTable.cs
- WebPartDescriptionCollection.cs
- AsyncStreamReader.cs
- LineServices.cs
- MobileCapabilities.cs
- WebBrowserNavigatedEventHandler.cs