Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / NotifyInputEventArgs.cs / 1305600 / 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
- DocumentGridPage.cs
- ScriptReference.cs
- ApplicationBuildProvider.cs
- DataGridLinkButton.cs
- Int64.cs
- DataGridViewColumnCollection.cs
- SqlUserDefinedTypeAttribute.cs
- RecognizedAudio.cs
- XpsColorContext.cs
- NavigationFailedEventArgs.cs
- SoapExtensionTypeElement.cs
- XmlNamedNodeMap.cs
- SiteMapNodeItemEventArgs.cs
- FixedSOMPage.cs
- ObjectList.cs
- X509Extension.cs
- TypeCacheManager.cs
- ListViewGroupItemCollection.cs
- CorrelationManager.cs
- ColorInterpolationModeValidation.cs
- NamespaceDecl.cs
- TextBounds.cs
- ListViewItemCollectionEditor.cs
- ClientTargetCollection.cs
- DesignerToolStripControlHost.cs
- PermissionSet.cs
- CodeSnippetCompileUnit.cs
- DesignerImageAdapter.cs
- EditorPartChrome.cs
- WithStatement.cs
- Debugger.cs
- CatalogPartChrome.cs
- OutOfProcStateClientManager.cs
- ElementNotEnabledException.cs
- StateItem.cs
- VisualTreeUtils.cs
- ChainOfDependencies.cs
- CompositeDispatchFormatter.cs
- ToolStripButton.cs
- RawStylusInput.cs
- QueryableDataSourceEditData.cs
- Header.cs
- WebHttpEndpoint.cs
- HtmlControl.cs
- FunctionCommandText.cs
- ListViewInsertEventArgs.cs
- ResourceManager.cs
- DataColumnPropertyDescriptor.cs
- TextSegment.cs
- __FastResourceComparer.cs
- StoreAnnotationsMap.cs
- GradientStop.cs
- QuaternionRotation3D.cs
- PropertyChangingEventArgs.cs
- MetaChildrenColumn.cs
- AccessibilityApplicationManager.cs
- ImportOptions.cs
- BitStream.cs
- DataSourceCacheDurationConverter.cs
- PersonalizationState.cs
- AutomationFocusChangedEventArgs.cs
- PartBasedPackageProperties.cs
- EncodingDataItem.cs
- PipelineModuleStepContainer.cs
- GenericWebPart.cs
- TdsParserSessionPool.cs
- Win32Native.cs
- DataControlReferenceCollection.cs
- BitmapPalette.cs
- DataServiceException.cs
- RegexNode.cs
- UniqueTransportManagerRegistration.cs
- DataGridViewCellValueEventArgs.cs
- ColorAnimationUsingKeyFrames.cs
- Drawing.cs
- HostedHttpTransportManager.cs
- StorageAssociationSetMapping.cs
- SqlUserDefinedAggregateAttribute.cs
- XPathExpr.cs
- UIElement.cs
- TreeNodeStyle.cs
- ObjectIDGenerator.cs
- WebEvents.cs
- URLAttribute.cs
- AssemblyResolver.cs
- RoleManagerSection.cs
- DataGridViewUtilities.cs
- CustomCategoryAttribute.cs
- ResourcePart.cs
- UrlMappingsSection.cs
- PerformanceCounterLib.cs
- ButtonBaseAdapter.cs
- GridLength.cs
- XmlTextWriter.cs
- SessionState.cs
- DataSourceProvider.cs
- GregorianCalendarHelper.cs
- DiscoveryVersion.cs
- SqlWriter.cs
- ToolTipAutomationPeer.cs