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
- ExpressionServices.cs
- ParserStreamGeometryContext.cs
- SamlAdvice.cs
- SecUtil.cs
- ByteBufferPool.cs
- PageContentCollection.cs
- PassportAuthenticationEventArgs.cs
- UInt32Converter.cs
- DataQuery.cs
- GetResponse.cs
- RemoteTokenFactory.cs
- CompilerInfo.cs
- MetadataArtifactLoader.cs
- _DigestClient.cs
- ToolStripDropDownItem.cs
- FlagsAttribute.cs
- DataRelationCollection.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Debug.cs
- MonitoringDescriptionAttribute.cs
- ComponentEditorForm.cs
- HScrollBar.cs
- SchemaElementDecl.cs
- EdmTypeAttribute.cs
- ScrollPatternIdentifiers.cs
- SecurityDescriptor.cs
- FixedSOMLineCollection.cs
- SizeIndependentAnimationStorage.cs
- CustomValidator.cs
- IDReferencePropertyAttribute.cs
- DataGridViewColumnConverter.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- StickyNoteContentControl.cs
- ProgressBarBrushConverter.cs
- FloatUtil.cs
- ProcessModelSection.cs
- Attributes.cs
- MouseWheelEventArgs.cs
- CacheDependency.cs
- SystemIcmpV4Statistics.cs
- StrongNameMembershipCondition.cs
- TriggerAction.cs
- VarRefManager.cs
- GeometryModel3D.cs
- FontConverter.cs
- StateMachineSubscription.cs
- TextControlDesigner.cs
- WebBodyFormatMessageProperty.cs
- RepeaterItemEventArgs.cs
- OneOfScalarConst.cs
- ExtenderProvidedPropertyAttribute.cs
- DefaultSection.cs
- HitTestParameters3D.cs
- DataSetFieldSchema.cs
- GenericWebPart.cs
- ElementAtQueryOperator.cs
- ProcessStartInfo.cs
- DataColumnMapping.cs
- GridViewRow.cs
- ListViewItemSelectionChangedEvent.cs
- RecognitionEventArgs.cs
- Events.cs
- StateItem.cs
- XsdCachingReader.cs
- webclient.cs
- TypeUtils.cs
- SqlUdtInfo.cs
- LinqDataSourceSelectEventArgs.cs
- VariableExpressionConverter.cs
- BaseParser.cs
- ObservableDictionary.cs
- XmlElementAttribute.cs
- BaseCodePageEncoding.cs
- QuadraticBezierSegment.cs
- CommandLineParser.cs
- TemporaryBitmapFile.cs
- EnumBuilder.cs
- EditingCommands.cs
- GenerateScriptTypeAttribute.cs
- AsyncCompletedEventArgs.cs
- CuspData.cs
- ChildDocumentBlock.cs
- HierarchicalDataBoundControlAdapter.cs
- StorageEndPropertyMapping.cs
- SetStateDesigner.cs
- XmlDataSource.cs
- UdpDuplexChannel.cs
- MultiSelectRootGridEntry.cs
- ForwardPositionQuery.cs
- ResourceReader.cs
- XmlNamespaceMappingCollection.cs
- ProcessHostFactoryHelper.cs
- UnsafeNativeMethodsTablet.cs
- ComContractElement.cs
- ListParagraph.cs
- ConfigXmlSignificantWhitespace.cs
- SymmetricAlgorithm.cs
- SafeViewOfFileHandle.cs
- _AutoWebProxyScriptEngine.cs
- FixedPageAutomationPeer.cs