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
- ConsumerConnectionPoint.cs
- ImageSource.cs
- IndexOutOfRangeException.cs
- SafeSystemMetrics.cs
- PropertyChangeTracker.cs
- TemplateBindingExtension.cs
- ParameterToken.cs
- PersonalizableTypeEntry.cs
- PartialCachingAttribute.cs
- DrawItemEvent.cs
- sqlser.cs
- DocumentViewerBaseAutomationPeer.cs
- DocumentAutomationPeer.cs
- EntityDataSourceState.cs
- WebPartDisplayModeCancelEventArgs.cs
- TextRangeAdaptor.cs
- MultiPropertyDescriptorGridEntry.cs
- WhitespaceSignificantCollectionAttribute.cs
- ThousandthOfEmRealDoubles.cs
- NativeMethods.cs
- ExternalFile.cs
- ToolboxItemCollection.cs
- CompiledIdentityConstraint.cs
- GCHandleCookieTable.cs
- FixedNode.cs
- QueueProcessor.cs
- HostingEnvironmentSection.cs
- DeploymentSection.cs
- ActiveXContainer.cs
- followingsibling.cs
- InfoCardSymmetricAlgorithm.cs
- CodeMemberMethod.cs
- RecognizeCompletedEventArgs.cs
- XMLSyntaxException.cs
- ScriptManager.cs
- XMLSchema.cs
- PtsCache.cs
- TextRange.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- SurrogateEncoder.cs
- BindingBase.cs
- TextViewSelectionProcessor.cs
- MultitargetUtil.cs
- XmlSchemaNotation.cs
- ParenthesizePropertyNameAttribute.cs
- DbParameterCollection.cs
- MethodAccessException.cs
- XmlSchemaGroupRef.cs
- Decorator.cs
- XmlSignatureProperties.cs
- ProfileGroupSettings.cs
- CodeDOMUtility.cs
- UpdateProgress.cs
- DataPagerCommandEventArgs.cs
- DecoderFallback.cs
- Timeline.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- SqlEnums.cs
- ListBindingConverter.cs
- NetworkAddressChange.cs
- CookieProtection.cs
- AuthorizationSection.cs
- TreeView.cs
- LocalizationComments.cs
- PasswordPropertyTextAttribute.cs
- QueryOperationResponseOfT.cs
- PageTheme.cs
- QueryOutputWriter.cs
- TrustManagerMoreInformation.cs
- StorageMappingItemCollection.cs
- METAHEADER.cs
- Documentation.cs
- DataGridViewButtonColumn.cs
- EtwTrace.cs
- OleDbCommandBuilder.cs
- UnionCodeGroup.cs
- NetWebProxyFinder.cs
- MobileResource.cs
- NameValuePermission.cs
- ArrangedElement.cs
- backend.cs
- EventSinkHelperWriter.cs
- WeakReferenceEnumerator.cs
- CroppedBitmap.cs
- SchemaElementDecl.cs
- LocatorBase.cs
- FixedTextSelectionProcessor.cs
- Cursor.cs
- WorkflowHostingResponseContext.cs
- PresentationSource.cs
- Fonts.cs
- WebPartCancelEventArgs.cs
- DomainUpDown.cs
- XmlMemberMapping.cs
- SpeechRecognizer.cs
- Path.cs
- EdmValidator.cs
- ToolStripContentPanel.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DataGridItemAttachedStorage.cs