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
- SelectionProviderWrapper.cs
- ListViewItemSelectionChangedEvent.cs
- URIFormatException.cs
- EntityContainerEntitySet.cs
- SplitterPanel.cs
- TextModifierScope.cs
- NonClientArea.cs
- ImageSourceConverter.cs
- SelectionEditor.cs
- ColumnHeaderConverter.cs
- AbandonedMutexException.cs
- parserscommon.cs
- TimeoutStream.cs
- CollectionViewGroup.cs
- ColorConvertedBitmap.cs
- HandledEventArgs.cs
- XPathExpr.cs
- CommandPlan.cs
- Clause.cs
- SubqueryRules.cs
- BindingExpression.cs
- ScrollChrome.cs
- Classification.cs
- DynamicEntity.cs
- CodeExpressionStatement.cs
- SQLRoleProvider.cs
- InvalidWMPVersionException.cs
- EnumerableCollectionView.cs
- CachedCompositeFamily.cs
- TrackingProfileDeserializationException.cs
- DataSysAttribute.cs
- UrlPath.cs
- CodeSnippetTypeMember.cs
- HtmlMobileTextWriter.cs
- DataServiceRequest.cs
- ToolStripContentPanelDesigner.cs
- CompoundFileDeflateTransform.cs
- followingquery.cs
- Operand.cs
- IsolationInterop.cs
- XmlSerializationReader.cs
- HierarchicalDataTemplate.cs
- HostedHttpContext.cs
- RecognitionResult.cs
- UnmanagedHandle.cs
- RegexBoyerMoore.cs
- ModelPropertyDescriptor.cs
- FrameDimension.cs
- IgnoreDeviceFilterElement.cs
- WebUtil.cs
- NumberFunctions.cs
- itemelement.cs
- _IPv6Address.cs
- IdnMapping.cs
- WasAdminWrapper.cs
- ViewCellRelation.cs
- Queue.cs
- MultitargetUtil.cs
- ClientOptions.cs
- ContextProperty.cs
- ListViewGroupItemCollection.cs
- WindowsScrollBar.cs
- OperationResponse.cs
- EventHandlerList.cs
- TypefaceCollection.cs
- ServiceHttpHandlerFactory.cs
- RecordManager.cs
- SqlUtils.cs
- PrimarySelectionAdorner.cs
- StrongNameKeyPair.cs
- ApplicationException.cs
- DbParameterCollectionHelper.cs
- DefaultPropertyAttribute.cs
- ListViewItem.cs
- DataSourceView.cs
- Point4D.cs
- MultipartContentParser.cs
- HttpResponse.cs
- ColumnCollection.cs
- WindowsEditBox.cs
- PagesSection.cs
- StackSpiller.cs
- DetailsViewUpdatedEventArgs.cs
- PtsHost.cs
- DocumentPageViewAutomationPeer.cs
- AspProxy.cs
- DataGridViewDataErrorEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- UInt32Converter.cs
- connectionpool.cs
- MatrixAnimationUsingPath.cs
- ChineseLunisolarCalendar.cs
- DataRecord.cs
- TreeNodeEventArgs.cs
- ContainerAction.cs
- XPathEmptyIterator.cs
- ToolStripRenderer.cs
- FacetValues.cs
- DetailsViewInsertEventArgs.cs
- BitmapEffectCollection.cs