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
- ItemMap.cs
- WebCategoryAttribute.cs
- TextEncodedRawTextWriter.cs
- baseshape.cs
- Matrix3DStack.cs
- RTLAwareMessageBox.cs
- NetSectionGroup.cs
- XsdDateTime.cs
- RotationValidation.cs
- BasicExpressionVisitor.cs
- validation.cs
- SafeCloseHandleCritical.cs
- WebPartCatalogCloseVerb.cs
- DbTransaction.cs
- CustomCategoryAttribute.cs
- StackSpiller.Temps.cs
- Operator.cs
- AdPostCacheSubstitution.cs
- SecurityElement.cs
- QualifierSet.cs
- XmlSchemaInfo.cs
- TextPattern.cs
- SchemaImporter.cs
- _NestedMultipleAsyncResult.cs
- BuiltInPermissionSets.cs
- NavigationPropertyEmitter.cs
- SmtpReplyReader.cs
- ClientSettingsProvider.cs
- IPPacketInformation.cs
- CodeConditionStatement.cs
- NameValueSectionHandler.cs
- NotImplementedException.cs
- _AutoWebProxyScriptHelper.cs
- IIS7WorkerRequest.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- Stack.cs
- DmlSqlGenerator.cs
- ArrayItemReference.cs
- HiddenFieldDesigner.cs
- OleDbParameter.cs
- StrokeDescriptor.cs
- DecoderFallback.cs
- FileChangesMonitor.cs
- PointHitTestParameters.cs
- ModelTreeEnumerator.cs
- CollectionsUtil.cs
- DataRow.cs
- TabControlEvent.cs
- MsmqHostedTransportManager.cs
- DataServiceQueryProvider.cs
- TextTreeTextNode.cs
- TextServicesDisplayAttributePropertyRanges.cs
- Constraint.cs
- _SpnDictionary.cs
- GridLengthConverter.cs
- Unit.cs
- PagesChangedEventArgs.cs
- ScriptResourceDefinition.cs
- DictionaryGlobals.cs
- Clipboard.cs
- ServiceBuildProvider.cs
- WebPartUtil.cs
- QueryStringHandler.cs
- ExpressionEditorAttribute.cs
- MailBnfHelper.cs
- BuildProviderCollection.cs
- LinkConverter.cs
- XPathAxisIterator.cs
- DefaultAsyncDataDispatcher.cs
- DoubleStorage.cs
- TreeNodeBindingCollection.cs
- CollectionBase.cs
- Pick.cs
- PageResolution.cs
- StreamGeometry.cs
- DataSourceDescriptorCollection.cs
- SharedStatics.cs
- HtmlGenericControl.cs
- IntSecurity.cs
- HwndTarget.cs
- GiveFeedbackEvent.cs
- IncrementalHitTester.cs
- StreamGeometry.cs
- EditableLabelControl.cs
- BinaryConverter.cs
- NonParentingControl.cs
- ContainerUtilities.cs
- ConfigXmlAttribute.cs
- VisualStyleInformation.cs
- _NegoStream.cs
- SystemInfo.cs
- CalendarDateRange.cs
- XmlCollation.cs
- ButtonBase.cs
- ConfigurationElementProperty.cs
- VirtualPathUtility.cs
- ConfigurationValues.cs
- TemplateComponentConnector.cs
- IpcClientChannel.cs
- StatusBar.cs