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
- TypographyProperties.cs
- MeasurementDCInfo.cs
- TemplateBindingExtension.cs
- Equal.cs
- DPTypeDescriptorContext.cs
- PartManifestEntry.cs
- DataContract.cs
- PngBitmapEncoder.cs
- DataGridItemAutomationPeer.cs
- SecurityException.cs
- MemberRelationshipService.cs
- Gdiplus.cs
- SupportsPreviewControlAttribute.cs
- DialogResultConverter.cs
- HitTestParameters.cs
- HotSpot.cs
- RemoteArgument.cs
- MenuItemAutomationPeer.cs
- EntityStoreSchemaGenerator.cs
- WebPartVerbCollection.cs
- TemplateManager.cs
- AuthenticationServiceManager.cs
- DoubleCollection.cs
- MemoryPressure.cs
- smtpconnection.cs
- BindingContext.cs
- WindowsUpDown.cs
- HttpResponse.cs
- DesignerToolStripControlHost.cs
- SoapIncludeAttribute.cs
- ISAPIWorkerRequest.cs
- TypeTypeConverter.cs
- AttachmentCollection.cs
- UnrecognizedAssertionsBindingElement.cs
- Random.cs
- HeaderedContentControl.cs
- Camera.cs
- DesignerDataTable.cs
- CqlErrorHelper.cs
- WebPartPersonalization.cs
- HttpHandler.cs
- FontFamily.cs
- BitmapEffectOutputConnector.cs
- StylusPointProperties.cs
- Matrix3DConverter.cs
- XmlCharType.cs
- DesignerTransactionCloseEvent.cs
- Vector3DCollectionConverter.cs
- CollectionsUtil.cs
- TimelineGroup.cs
- DynamicDocumentPaginator.cs
- EncryptedPackage.cs
- WindowsGraphicsWrapper.cs
- UICuesEvent.cs
- DataSourceHelper.cs
- ParseHttpDate.cs
- Socket.cs
- RemotingAttributes.cs
- TextDataBindingHandler.cs
- Point3D.cs
- SmtpSection.cs
- CaseInsensitiveComparer.cs
- SerializationObjectManager.cs
- SqlTrackingService.cs
- StringUtil.cs
- NegationPusher.cs
- ImplicitInputBrush.cs
- PointF.cs
- ListViewGroupItemCollection.cs
- KeyGestureConverter.cs
- OleDbFactory.cs
- RectAnimation.cs
- IssuanceLicense.cs
- AtomEntry.cs
- ISAPIApplicationHost.cs
- EraserBehavior.cs
- HttpListenerPrefixCollection.cs
- Icon.cs
- DocumentApplicationDocumentViewer.cs
- CapabilitiesSection.cs
- SafeArrayTypeMismatchException.cs
- SymbolEqualComparer.cs
- StronglyTypedResourceBuilder.cs
- AsymmetricAlgorithm.cs
- DescendantQuery.cs
- HintTextMaxWidthConverter.cs
- Italic.cs
- TraceSection.cs
- FilteredSchemaElementLookUpTable.cs
- DescendentsWalkerBase.cs
- elementinformation.cs
- BooleanAnimationBase.cs
- BookmarkEventArgs.cs
- Pair.cs
- SQLSingle.cs
- FilterException.cs
- WebPageTraceListener.cs
- CallId.cs
- KnownTypes.cs
- SafeLocalMemHandle.cs