Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / RawTextInputReport.cs / 1305600 / 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
- StyleSelector.cs
- InteropBitmapSource.cs
- LayoutTable.cs
- Currency.cs
- CustomAttribute.cs
- ScriptReference.cs
- SlipBehavior.cs
- ScalarType.cs
- RectAnimation.cs
- ImmutableObjectAttribute.cs
- PropagatorResult.cs
- ListSortDescriptionCollection.cs
- InputLanguageCollection.cs
- WpfWebRequestHelper.cs
- SafeEventLogWriteHandle.cs
- EntitySqlQueryBuilder.cs
- Point4DValueSerializer.cs
- GPRECT.cs
- TextChange.cs
- MsiStyleLogWriter.cs
- HttpModuleAction.cs
- DataFormats.cs
- LastQueryOperator.cs
- OutOfProcStateClientManager.cs
- mediaeventshelper.cs
- PKCS1MaskGenerationMethod.cs
- MenuItemBindingCollection.cs
- NonParentingControl.cs
- BuildProviderAppliesToAttribute.cs
- ClientData.cs
- CommonRemoteMemoryBlock.cs
- DataListItemCollection.cs
- PreservationFileReader.cs
- ListViewGroupItemCollection.cs
- SingleSelectRootGridEntry.cs
- TreeNodeMouseHoverEvent.cs
- StringResourceManager.cs
- WebContext.cs
- DependencyPropertyKey.cs
- AudioBase.cs
- EndEvent.cs
- WebControl.cs
- VersionUtil.cs
- HttpServerUtilityBase.cs
- SafeNativeMethodsOther.cs
- AttributeEmitter.cs
- Point3DCollectionConverter.cs
- DictionarySectionHandler.cs
- ImmutableDispatchRuntime.cs
- Size.cs
- XhtmlBasicPhoneCallAdapter.cs
- SerializationAttributes.cs
- Command.cs
- FlowDocumentReader.cs
- MembershipUser.cs
- ObjectIDGenerator.cs
- PublisherIdentityPermission.cs
- SecurityUtils.cs
- GridErrorDlg.cs
- _CookieModule.cs
- MultiDataTrigger.cs
- XmlILCommand.cs
- QuaternionRotation3D.cs
- ApplicationTrust.cs
- FieldTemplateFactory.cs
- Random.cs
- ProxySimple.cs
- InputScopeAttribute.cs
- CharacterMetricsDictionary.cs
- ElementUtil.cs
- ScrollBarAutomationPeer.cs
- MessageQueue.cs
- ColorContextHelper.cs
- ReadOnlyTernaryTree.cs
- AttributeInfo.cs
- AsyncResult.cs
- AnnotationAuthorChangedEventArgs.cs
- GC.cs
- DispatchChannelSink.cs
- EventlogProvider.cs
- XmlSchemaSimpleContentRestriction.cs
- MediaElement.cs
- Filter.cs
- AutomationEvent.cs
- DebugTraceHelper.cs
- ResourceProviderFactory.cs
- XmlSchemaObjectCollection.cs
- XmlUTF8TextWriter.cs
- TemplateControlBuildProvider.cs
- DataBinding.cs
- HasActivatableWorkflowEvent.cs
- ValidationHelpers.cs
- basevalidator.cs
- StatusBar.cs
- SafeSystemMetrics.cs
- RotateTransform3D.cs
- ProxyGenerator.cs
- BaseCodePageEncoding.cs
- ProofTokenCryptoHandle.cs
- ItemList.cs