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
- FragmentNavigationEventArgs.cs
- Highlights.cs
- PropertyTab.cs
- FontStretchConverter.cs
- EntryWrittenEventArgs.cs
- baseshape.cs
- WmiEventSink.cs
- CurrencyManager.cs
- WindowsListViewGroupHelper.cs
- DecimalConstantAttribute.cs
- RadioButton.cs
- AdRotator.cs
- ReadWriteObjectLock.cs
- MsmqDecodeHelper.cs
- ActivityInfo.cs
- Brush.cs
- CustomAttributeFormatException.cs
- activationcontext.cs
- DetailsViewCommandEventArgs.cs
- BrowserDefinition.cs
- HorizontalAlignConverter.cs
- AuthorizationRule.cs
- WebHttpBehavior.cs
- QueryCacheManager.cs
- CanonicalFormWriter.cs
- Merger.cs
- WebEvents.cs
- BitVector32.cs
- VerificationAttribute.cs
- OdbcConnectionPoolProviderInfo.cs
- UnsafeNativeMethodsTablet.cs
- UnsafeNativeMethods.cs
- CorePropertiesFilter.cs
- TdsRecordBufferSetter.cs
- GridEntry.cs
- CustomExpression.cs
- ServicesExceptionNotHandledEventArgs.cs
- ListViewDataItem.cs
- InvalidateEvent.cs
- AtomicFile.cs
- BaseServiceProvider.cs
- NativeMethods.cs
- InstalledFontCollection.cs
- TransportElement.cs
- UpdateManifestForBrowserApplication.cs
- ResourceProviderFactory.cs
- SQLGuid.cs
- ObjectDataSourceFilteringEventArgs.cs
- AnonymousIdentificationModule.cs
- StagingAreaInputItem.cs
- NullableDoubleAverageAggregationOperator.cs
- ObjectStateEntryDbDataRecord.cs
- SHA512.cs
- shaperfactoryquerycachekey.cs
- TypedElement.cs
- PermissionSetEnumerator.cs
- ColumnResizeUndoUnit.cs
- NavigationEventArgs.cs
- SerializationHelper.cs
- XPathSingletonIterator.cs
- IRCollection.cs
- Window.cs
- WindowsListViewItem.cs
- TextMarkerSource.cs
- SeekStoryboard.cs
- DecimalConverter.cs
- StateWorkerRequest.cs
- MarkupProperty.cs
- WmlSelectionListAdapter.cs
- EnvelopedPkcs7.cs
- JournalNavigationScope.cs
- TypeHelpers.cs
- FormViewUpdateEventArgs.cs
- ClosableStream.cs
- Padding.cs
- GetRecipientListRequest.cs
- PartialClassGenerationTask.cs
- ReversePositionQuery.cs
- RequestUriProcessor.cs
- DataStorage.cs
- NavigationService.cs
- StyleBamlTreeBuilder.cs
- SqlClientWrapperSmiStreamChars.cs
- AttributeTable.cs
- Misc.cs
- TimelineGroup.cs
- RectKeyFrameCollection.cs
- ProgressBarRenderer.cs
- ExceptionList.cs
- TcpPortSharing.cs
- ThousandthOfEmRealDoubles.cs
- OrCondition.cs
- TextElement.cs
- MessageQueue.cs
- GridViewUpdateEventArgs.cs
- MenuBase.cs
- DataGridViewHeaderCell.cs
- ContainerSelectorGlyph.cs
- WebPartManagerInternals.cs
- SortedDictionary.cs