Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / RawTextInputReport.cs / 1 / RawTextInputReport.cs
using System; using System.Windows; namespace System.Windows.Input { ////// The RawTextInputReport class encapsulates the raw text input /// provided. /// ////// It is important to note that the InputReport class only contains /// blittable types. This is required so that the report can be /// marshalled across application domains. /// internal class RawTextInputReport : InputReport { ////// Constructs ad instance of the RawKeyboardInputReport class. /// /// /// The input source that provided this input. /// /// /// The mode in which the input is being provided. /// /// /// The time when the input occured. /// /// /// True if the char code is a dead char. /// /// /// True if the char code is a system char. /// /// /// True if the char code is a control char. /// /// /// The character code. /// public RawTextInputReport( PresentationSource inputSource, InputMode mode, int timestamp, bool isDeadCharacter, bool isSystemCharacter, bool isControlCharacter, char characterCode) : base(inputSource, InputType.Text, mode, timestamp) { _isDeadCharacter = isDeadCharacter; _isSystemCharacter = isSystemCharacter; _isControlCharacter = isControlCharacter; _characterCode = characterCode; } ////// Read-only access to the state of dead character /// public bool IsDeadCharacter {get {return _isDeadCharacter;}} ////// Read-only access to the state of system character /// public bool IsSystemCharacter {get {return _isSystemCharacter;}} ////// Read-only access to the state of control character /// public bool IsControlCharacter {get {return _isControlCharacter;}} ////// Read-only access to the character code that was reported. /// public char CharacterCode {get {return _characterCode;}} private readonly bool _isDeadCharacter; private readonly bool _isSystemCharacter; private readonly bool _isControlCharacter; private readonly char _characterCode; } } // 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
- ResourceReader.cs
- StringComparer.cs
- CompModSwitches.cs
- SecurityState.cs
- TableItemPattern.cs
- COSERVERINFO.cs
- DynamicILGenerator.cs
- LocationSectionRecord.cs
- StylusPlugin.cs
- ListViewPagedDataSource.cs
- DataControlField.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Debug.cs
- ItemType.cs
- IPEndPoint.cs
- BaseTemplatedMobileComponentEditor.cs
- TransformGroup.cs
- LinearQuaternionKeyFrame.cs
- MethodBody.cs
- CodeAssignStatement.cs
- ValidationErrorCollection.cs
- XmlAttributeHolder.cs
- ViewLoader.cs
- SynchronizationLockException.cs
- KerberosRequestorSecurityToken.cs
- TextFormatterImp.cs
- Polygon.cs
- CodeCommentStatementCollection.cs
- FontWeightConverter.cs
- XmlIlVisitor.cs
- GeneralTransform3DCollection.cs
- CommentEmitter.cs
- ProfileModule.cs
- EpmSourceTree.cs
- CompModSwitches.cs
- UnionCqlBlock.cs
- EntityType.cs
- HostedElements.cs
- MultiPageTextView.cs
- OLEDB_Util.cs
- TraceSwitch.cs
- OrderByBuilder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- IndicShape.cs
- keycontainerpermission.cs
- WithParamAction.cs
- HttpPostLocalhostServerProtocol.cs
- WorkItem.cs
- PackageRelationship.cs
- SqlError.cs
- NavigatorOutput.cs
- SmtpReplyReaderFactory.cs
- GroupBoxDesigner.cs
- StreamGeometry.cs
- OrderByLifter.cs
- Comparer.cs
- CurrencyManager.cs
- SoapAttributeOverrides.cs
- NotifyInputEventArgs.cs
- EventLogger.cs
- ConnectionPointCookie.cs
- MembershipPasswordException.cs
- InsufficientExecutionStackException.cs
- StyleSelector.cs
- XPathException.cs
- AttributeAction.cs
- GatewayIPAddressInformationCollection.cs
- SymbolMethod.cs
- LabelEditEvent.cs
- WebDescriptionAttribute.cs
- DbReferenceCollection.cs
- ProcessModuleCollection.cs
- SafeBitVector32.cs
- MarkupCompiler.cs
- _ListenerResponseStream.cs
- RenderDataDrawingContext.cs
- InputManager.cs
- SmtpMail.cs
- UriTemplateTrieLocation.cs
- NotifyInputEventArgs.cs
- DbConnectionFactory.cs
- AppDomainCompilerProxy.cs
- HttpGetServerProtocol.cs
- SymbolPair.cs
- ConditionalAttribute.cs
- FrameworkElement.cs
- ObjectContext.cs
- WorkflowServiceHostFactory.cs
- InkCanvasAutomationPeer.cs
- NextPreviousPagerField.cs
- UnsafeNativeMethods.cs
- PerSessionInstanceContextProvider.cs
- MetadataUtilsSmi.cs
- TypedTableBase.cs
- MultiDataTrigger.cs
- RadialGradientBrush.cs
- EdmFunctionAttribute.cs
- HttpModuleAction.cs
- DocumentViewerBaseAutomationPeer.cs
- ImageEditor.cs