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
- RoleManagerSection.cs
- HttpApplication.cs
- UrlAuthorizationModule.cs
- SafeFileHandle.cs
- Visual3D.cs
- Translator.cs
- PointLight.cs
- CryptoKeySecurity.cs
- PolicyException.cs
- EventMap.cs
- SearchForVirtualItemEventArgs.cs
- JpegBitmapDecoder.cs
- PathFigure.cs
- HttpDictionary.cs
- InheritanceAttribute.cs
- ITextView.cs
- ComponentResourceKeyConverter.cs
- TypefaceCollection.cs
- OracleConnectionFactory.cs
- SqlCommandSet.cs
- DesigntimeLicenseContext.cs
- Tile.cs
- DrawingDrawingContext.cs
- DotExpr.cs
- DescriptionAttribute.cs
- ColumnMapVisitor.cs
- TypefaceMap.cs
- ServiceModelConfigurationSectionGroup.cs
- XomlCompilerResults.cs
- UshortList2.cs
- XmlDocumentType.cs
- HttpHandlerActionCollection.cs
- BinaryWriter.cs
- PersonalizationStateInfo.cs
- BooleanProjectedSlot.cs
- AtomicFile.cs
- ServiceModelEnumValidatorAttribute.cs
- InputBinding.cs
- login.cs
- MethodExecutor.cs
- ApplicationDirectoryMembershipCondition.cs
- Oid.cs
- PerformanceCounterManager.cs
- TextTreeText.cs
- ApplicationDirectory.cs
- XmlObjectSerializerWriteContext.cs
- ConstraintManager.cs
- _CookieModule.cs
- ProcessHostServerConfig.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SafeReversePInvokeHandle.cs
- Pkcs7Recipient.cs
- AsyncPostBackErrorEventArgs.cs
- GenericsNotImplementedException.cs
- DesignerToolStripControlHost.cs
- StringValueSerializer.cs
- ToolStripControlHost.cs
- Rect3D.cs
- ProcessingInstructionAction.cs
- EdmProperty.cs
- ContentElement.cs
- HtmlInputReset.cs
- SessionPageStatePersister.cs
- SiteOfOriginContainer.cs
- PathFigure.cs
- ZeroOpNode.cs
- SQLBoolean.cs
- XmlChildNodes.cs
- DateTimeConverter.cs
- Vector3DAnimationUsingKeyFrames.cs
- ByteAnimation.cs
- XmlRawWriterWrapper.cs
- XmlDataLoader.cs
- MessageBox.cs
- ReaderWriterLockSlim.cs
- NonClientArea.cs
- SpStreamWrapper.cs
- StyleCollection.cs
- JulianCalendar.cs
- BitmapEffectDrawing.cs
- RoutedEventHandlerInfo.cs
- EditorZone.cs
- InputScopeNameConverter.cs
- ContentPosition.cs
- NamespaceList.cs
- ObjectList.cs
- BitmapFrameDecode.cs
- ReferentialConstraint.cs
- GridViewCommandEventArgs.cs
- XhtmlConformanceSection.cs
- CodeExpressionCollection.cs
- DrawingDrawingContext.cs
- SystemWebCachingSectionGroup.cs
- CommandField.cs
- PageBuildProvider.cs
- SID.cs
- ImageBrush.cs
- TimeZone.cs
- Italic.cs
- ConfigXmlText.cs