Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / 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. 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
- SafeSystemMetrics.cs
- GlyphRunDrawing.cs
- _AuthenticationState.cs
- X509Certificate2Collection.cs
- SHA384CryptoServiceProvider.cs
- XPathNodeList.cs
- AuthenticationModuleElement.cs
- ConfigurationStrings.cs
- EntityWithKeyStrategy.cs
- XmlNamespaceMappingCollection.cs
- PngBitmapDecoder.cs
- SqlConnectionHelper.cs
- SqlBinder.cs
- ProfessionalColorTable.cs
- CmsUtils.cs
- BuilderElements.cs
- MulticastNotSupportedException.cs
- TypeElement.cs
- InterleavedZipPartStream.cs
- MediaContext.cs
- BooleanAnimationUsingKeyFrames.cs
- SystemIcmpV6Statistics.cs
- ToolStripDropDownClosingEventArgs.cs
- IPAddress.cs
- SettingsContext.cs
- EventLogPermissionEntryCollection.cs
- SR.cs
- DataSourceGeneratorException.cs
- IfAction.cs
- QueryReaderSettings.cs
- VirtualPathProvider.cs
- SimpleWebHandlerParser.cs
- UshortList2.cs
- MappingMetadataHelper.cs
- LogRecordSequence.cs
- DateTimeFormat.cs
- Visual3D.cs
- AppSettingsExpressionEditor.cs
- BinaryFormatterSinks.cs
- DataSetMappper.cs
- StrokeFIndices.cs
- AssemblyResourceLoader.cs
- BaseConfigurationRecord.cs
- WindowsTitleBar.cs
- SystemWebCachingSectionGroup.cs
- UnknownBitmapDecoder.cs
- LookupBindingPropertiesAttribute.cs
- DefaultSerializationProviderAttribute.cs
- ManifestResourceInfo.cs
- NGCSerializationManagerAsync.cs
- FunctionNode.cs
- XmlReaderSettings.cs
- SoapSchemaExporter.cs
- ReturnEventArgs.cs
- RC2CryptoServiceProvider.cs
- InputScopeManager.cs
- XmlBinaryWriterSession.cs
- ClaimSet.cs
- FileDialog_Vista.cs
- Win32KeyboardDevice.cs
- XmlSchemaDocumentation.cs
- SqlDeflator.cs
- StateMachineTimers.cs
- FloaterParagraph.cs
- RegexWorker.cs
- BrowsableAttribute.cs
- XPathDocument.cs
- RemoteX509AsymmetricSecurityKey.cs
- DataTableClearEvent.cs
- FixedPageAutomationPeer.cs
- CrossSiteScriptingValidation.cs
- SiteMembershipCondition.cs
- RuntimeCompatibilityAttribute.cs
- TraceContextRecord.cs
- MetabaseSettings.cs
- PageVisual.cs
- LiteralControl.cs
- WorkflowTransactionService.cs
- DataGridViewCellValidatingEventArgs.cs
- ConcurrentDictionary.cs
- RNGCryptoServiceProvider.cs
- CodeVariableDeclarationStatement.cs
- DataGridViewRowsRemovedEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- TdsParameterSetter.cs
- ToolStripLocationCancelEventArgs.cs
- MD5.cs
- AVElementHelper.cs
- EncryptedKey.cs
- UrlMapping.cs
- RectValueSerializer.cs
- RadialGradientBrush.cs
- RectAnimationUsingKeyFrames.cs
- BinaryEditor.cs
- Fonts.cs
- ResourceSetExpression.cs
- PropertyInformation.cs
- OracleMonthSpan.cs
- IItemProperties.cs
- SqlGatherProducedAliases.cs