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
- MailDefinition.cs
- NonParentingControl.cs
- WindowsSidIdentity.cs
- FragmentQueryKB.cs
- Ref.cs
- RequestCachePolicyConverter.cs
- ObjectViewListener.cs
- ConsumerConnectionPoint.cs
- OdbcEnvironmentHandle.cs
- PolicyImporterElement.cs
- MeasureData.cs
- DataGridCommandEventArgs.cs
- AssociationSetMetadata.cs
- DataContractSerializerOperationGenerator.cs
- ListSortDescription.cs
- MediaSystem.cs
- TCPClient.cs
- ContainerControl.cs
- BitmapMetadataEnumerator.cs
- SerializationInfo.cs
- RegexCapture.cs
- QilLiteral.cs
- ObjectDataSourceFilteringEventArgs.cs
- SqlBuilder.cs
- XmlSchema.cs
- DSGeneratorProblem.cs
- MissingMemberException.cs
- PriorityChain.cs
- CollectionViewGroupInternal.cs
- XmlCompatibilityReader.cs
- DesignerAutoFormatStyle.cs
- SQLDouble.cs
- TextContainer.cs
- ModelItemCollection.cs
- ControlCachePolicy.cs
- XmlSignatureManifest.cs
- QilValidationVisitor.cs
- ExpandCollapsePattern.cs
- WindowsListView.cs
- ServerType.cs
- TrackingRecord.cs
- ScrollContentPresenter.cs
- EventItfInfo.cs
- SystemIcmpV6Statistics.cs
- EncryptedXml.cs
- DefaultTextStoreTextComposition.cs
- DbParameterHelper.cs
- TextElementEnumerator.cs
- DataGridItem.cs
- Lock.cs
- SmiContextFactory.cs
- SettingsPropertyCollection.cs
- BasicExpressionVisitor.cs
- DataControlCommands.cs
- TextEndOfLine.cs
- ItemContainerPattern.cs
- PageCache.cs
- ReferencedType.cs
- SqlAliasesReferenced.cs
- ExpandableObjectConverter.cs
- HandlerBase.cs
- DriveNotFoundException.cs
- ListViewDeletedEventArgs.cs
- DocumentApplicationJournalEntry.cs
- SchemaImporter.cs
- TextTreeObjectNode.cs
- documentsequencetextcontainer.cs
- PlatformNotSupportedException.cs
- LoginCancelEventArgs.cs
- SecurityDocument.cs
- XmlUtil.cs
- PreservationFileWriter.cs
- ByteStreamMessageEncodingElement.cs
- XmlQueryRuntime.cs
- XPathBinder.cs
- TransactionState.cs
- EventSetterHandlerConverter.cs
- ADConnectionHelper.cs
- EntityDataSourceColumn.cs
- WebZone.cs
- ThicknessAnimationBase.cs
- ContextMenuService.cs
- FreezableCollection.cs
- XLinq.cs
- NullableFloatMinMaxAggregationOperator.cs
- _ChunkParse.cs
- TransformGroup.cs
- TextRange.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- Rect3D.cs
- ObjectParameterCollection.cs
- RangeValidator.cs
- WaitHandleCannotBeOpenedException.cs
- TabRenderer.cs
- ProviderException.cs
- SoapProtocolReflector.cs
- ChtmlImageAdapter.cs
- StringExpressionSet.cs
- Math.cs
- DateTimeOffset.cs