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
- TextEffectResolver.cs
- RewritingValidator.cs
- DataRecordInternal.cs
- HtmlTableRow.cs
- CounterSampleCalculator.cs
- IndependentlyAnimatedPropertyMetadata.cs
- BooleanFunctions.cs
- BufferAllocator.cs
- SemanticBasicElement.cs
- loginstatus.cs
- ArrayElementGridEntry.cs
- Certificate.cs
- ToolStripItem.cs
- SyndicationSerializer.cs
- ProxyFragment.cs
- DiagnosticsConfiguration.cs
- SimpleType.cs
- CompressionTransform.cs
- SystemBrushes.cs
- ToolStripDropDownItemDesigner.cs
- RemoteDebugger.cs
- TypeSystem.cs
- WeakReadOnlyCollection.cs
- DynamicPropertyReader.cs
- UIElement3DAutomationPeer.cs
- PriorityQueue.cs
- Camera.cs
- AuthenticationSection.cs
- PropertyMapper.cs
- SyntaxCheck.cs
- CustomValidator.cs
- BlurEffect.cs
- CounterSetInstanceCounterDataSet.cs
- CorePropertiesFilter.cs
- StringAnimationUsingKeyFrames.cs
- _OverlappedAsyncResult.cs
- _OSSOCK.cs
- NTAccount.cs
- IntSecurity.cs
- PenLineCapValidation.cs
- ClosableStream.cs
- securitycriticaldataClass.cs
- ManagementClass.cs
- QueryOutputWriter.cs
- MtomMessageEncodingElement.cs
- SmtpCommands.cs
- TextBlockAutomationPeer.cs
- ChannelServices.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- BitmapCodecInfoInternal.cs
- ParameterSubsegment.cs
- OuterGlowBitmapEffect.cs
- CommandField.cs
- MarshalDirectiveException.cs
- Control.cs
- HashMembershipCondition.cs
- ResourceIDHelper.cs
- OutputCacheProfile.cs
- EntityKeyElement.cs
- MouseActionConverter.cs
- XmlNullResolver.cs
- PackageRelationshipCollection.cs
- RowBinding.cs
- ToolStripHighContrastRenderer.cs
- DetailsViewModeEventArgs.cs
- SqlEnums.cs
- HealthMonitoringSectionHelper.cs
- TdsEnums.cs
- SignedInfo.cs
- CellConstant.cs
- WindowsGraphicsCacheManager.cs
- ControlCachePolicy.cs
- CornerRadius.cs
- PropertyHelper.cs
- TreeWalker.cs
- DocumentViewerBase.cs
- DataKeyPropertyAttribute.cs
- SafeNativeMethods.cs
- StrokeSerializer.cs
- __Filters.cs
- ListParagraph.cs
- ServicePointManagerElement.cs
- ConfigurationSchemaErrors.cs
- AliasedSlot.cs
- DataBindingHandlerAttribute.cs
- WeakEventManager.cs
- VisualTransition.cs
- X509DefaultServiceCertificateElement.cs
- SqlCommandAsyncResult.cs
- XmlIlVisitor.cs
- PlainXmlWriter.cs
- CodeTypeOfExpression.cs
- ListManagerBindingsCollection.cs
- VerticalAlignConverter.cs
- Path.cs
- DataGridViewSelectedColumnCollection.cs
- CompoundFileStorageReference.cs
- DynamicRendererThreadManager.cs
- XPathNode.cs
- ConnectionPoint.cs