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
- SymmetricKey.cs
- SoapAttributeAttribute.cs
- DbConnectionClosed.cs
- PowerModeChangedEventArgs.cs
- TypeInitializationException.cs
- XmlAttribute.cs
- ThumbButtonInfo.cs
- UnitySerializationHolder.cs
- FlowDocumentFormatter.cs
- UnsafeNativeMethods.cs
- EvidenceBase.cs
- LoadGrammarCompletedEventArgs.cs
- SecUtil.cs
- OrCondition.cs
- GridViewRowPresenterBase.cs
- ProfilePropertySettings.cs
- RootProfilePropertySettingsCollection.cs
- ISAPIApplicationHost.cs
- TaiwanCalendar.cs
- ToolStripInSituService.cs
- ThicknessAnimation.cs
- ScrollChrome.cs
- RenamedEventArgs.cs
- EncoderExceptionFallback.cs
- SqlClientPermission.cs
- DesignerAttribute.cs
- AutoCompleteStringCollection.cs
- SeekableReadStream.cs
- XmlDataSourceNodeDescriptor.cs
- WebPartMovingEventArgs.cs
- GeneratedCodeAttribute.cs
- RuntimeWrappedException.cs
- IndexExpression.cs
- EncoderReplacementFallback.cs
- BulletedListDesigner.cs
- AutomationPatternInfo.cs
- Expressions.cs
- AuthenticationModuleElementCollection.cs
- SafeProcessHandle.cs
- HitTestDrawingContextWalker.cs
- EncryptedData.cs
- ISAPIWorkerRequest.cs
- SqlCommandSet.cs
- SQLGuid.cs
- DataGridViewRowsAddedEventArgs.cs
- WebPartConnectionsCancelVerb.cs
- Help.cs
- TextEndOfParagraph.cs
- SubclassTypeValidatorAttribute.cs
- SizeAnimationClockResource.cs
- ServiceEndpointElement.cs
- Color.cs
- UserUseLicenseDictionaryLoader.cs
- ChangeTracker.cs
- RepeaterItem.cs
- WCFBuildProvider.cs
- TimeZone.cs
- DBSqlParserColumn.cs
- DesignerAdapterAttribute.cs
- ACE.cs
- DocumentXmlWriter.cs
- IsolationInterop.cs
- OledbConnectionStringbuilder.cs
- RuleSettingsCollection.cs
- Mouse.cs
- Storyboard.cs
- ThicknessAnimation.cs
- SByte.cs
- TreeViewBindingsEditor.cs
- SchemeSettingElementCollection.cs
- ListViewItemMouseHoverEvent.cs
- VisualBasicSettingsHandler.cs
- ListCollectionView.cs
- AutomationPattern.cs
- SafeCryptoHandles.cs
- ItemContainerProviderWrapper.cs
- TimeEnumHelper.cs
- TextBoxAutomationPeer.cs
- DbConnectionStringBuilder.cs
- PropertySourceInfo.cs
- SqlAliaser.cs
- WizardPanelChangingEventArgs.cs
- StateFinalizationDesigner.cs
- JournalNavigationScope.cs
- XmlAnyElementAttribute.cs
- XmlCDATASection.cs
- LocalizableAttribute.cs
- ValidationPropertyAttribute.cs
- CryptoProvider.cs
- Mapping.cs
- AnonymousIdentificationModule.cs
- IndexerNameAttribute.cs
- DataControlImageButton.cs
- WindowsRichEditRange.cs
- TextProperties.cs
- StringFormat.cs
- DataTemplateKey.cs
- EtwProvider.cs
- GPRECTF.cs
- HuffmanTree.cs