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
- WebSysDefaultValueAttribute.cs
- SocketException.cs
- EntityDataSourceValidationException.cs
- UshortList2.cs
- EastAsianLunisolarCalendar.cs
- ValueTable.cs
- ComponentSerializationService.cs
- ScriptingRoleServiceSection.cs
- DbDataAdapter.cs
- DataSourceProvider.cs
- ExpandedWrapper.cs
- ErrorWebPart.cs
- ValueTypeFixupInfo.cs
- SiteMapSection.cs
- SpeechAudioFormatInfo.cs
- PropertyChangeTracker.cs
- InternalBufferManager.cs
- ResourceType.cs
- SqlDuplicator.cs
- XmlSignatureManifest.cs
- EdmFunctions.cs
- AsyncInvokeOperation.cs
- RadioButtonList.cs
- GradientBrush.cs
- SafeArrayTypeMismatchException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Parameter.cs
- _SafeNetHandles.cs
- ValidationUtility.cs
- TypeToken.cs
- LocalizationParserHooks.cs
- objectquery_tresulttype.cs
- FileSecurity.cs
- EllipseGeometry.cs
- UnmanagedHandle.cs
- Properties.cs
- SystemUdpStatistics.cs
- InkCanvasInnerCanvas.cs
- SecurityUtils.cs
- PasswordTextNavigator.cs
- WsatTransactionFormatter.cs
- SizeLimitedCache.cs
- XmlName.cs
- Root.cs
- WinFormsSecurity.cs
- ThrowHelper.cs
- UrlMappingCollection.cs
- TypeDescriptor.cs
- TypedReference.cs
- SortKey.cs
- ExtendedProperty.cs
- EventLogLink.cs
- Input.cs
- Sql8ConformanceChecker.cs
- TabItem.cs
- ListControlBoundActionList.cs
- BitmapEffect.cs
- WizardStepBase.cs
- DBBindings.cs
- BypassElement.cs
- StackOverflowException.cs
- ResourcesGenerator.cs
- DataObjectEventArgs.cs
- HttpPostedFileBase.cs
- WebPartConnectionsConfigureVerb.cs
- DriveInfo.cs
- ConvertBinder.cs
- FilterEventArgs.cs
- OracleTimeSpan.cs
- Rotation3D.cs
- DropShadowEffect.cs
- formatter.cs
- PermissionSetEnumerator.cs
- QilChoice.cs
- XmlAttributeCollection.cs
- LookupNode.cs
- StylusButtonEventArgs.cs
- CustomErrorsSectionWrapper.cs
- CollectionBase.cs
- ButtonFieldBase.cs
- HttpRuntime.cs
- WorkflowStateRollbackService.cs
- TranslateTransform.cs
- NavigationProgressEventArgs.cs
- AdornerPresentationContext.cs
- ObjectResult.cs
- StaticResourceExtension.cs
- DefaultObjectMappingItemCollection.cs
- DefaultEventAttribute.cs
- ManualResetEvent.cs
- Point4DValueSerializer.cs
- IconHelper.cs
- QilGenerator.cs
- ContractBase.cs
- TargetControlTypeCache.cs
- FragmentQueryProcessor.cs
- DetailsViewInsertedEventArgs.cs
- SqlNotificationRequest.cs
- XsdBuildProvider.cs
- Guid.cs