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
- XmlSchemaElement.cs
- ToolStripContainerDesigner.cs
- StylusDevice.cs
- SoapInteropTypes.cs
- WebPartDeleteVerb.cs
- XmlChoiceIdentifierAttribute.cs
- CommandValueSerializer.cs
- ElementProxy.cs
- DBNull.cs
- DriveNotFoundException.cs
- ADMembershipProvider.cs
- DataBoundControlActionList.cs
- IndexedString.cs
- _RequestLifetimeSetter.cs
- xml.cs
- TextDecorations.cs
- BaseTemplateParser.cs
- SafeArchiveContext.cs
- RecognizerBase.cs
- basenumberconverter.cs
- DataSourceListEditor.cs
- XsdBuilder.cs
- SamlSecurityTokenAuthenticator.cs
- ImpersonationContext.cs
- WindowsStatusBar.cs
- MasterPageBuildProvider.cs
- InputQueueChannelAcceptor.cs
- Guid.cs
- ResourcesGenerator.cs
- ModelPerspective.cs
- FileDetails.cs
- HttpHostedTransportConfiguration.cs
- ContentHostHelper.cs
- SqlServer2KCompatibilityAnnotation.cs
- FontEmbeddingManager.cs
- InternalBase.cs
- DeviceContext2.cs
- grammarelement.cs
- ScaleTransform3D.cs
- DbParameterHelper.cs
- CustomLineCap.cs
- PassportIdentity.cs
- QuadraticBezierSegment.cs
- LayoutInformation.cs
- SettingsPropertyCollection.cs
- WebPartExportVerb.cs
- FontDialog.cs
- BaseTemplateParser.cs
- ToolStripInSituService.cs
- FrameworkObject.cs
- TypeValidationEventArgs.cs
- MemberAccessException.cs
- X509IssuerSerialKeyIdentifierClause.cs
- PermissionRequestEvidence.cs
- ServiceModelInstallComponent.cs
- FixedStringLookup.cs
- KnownTypeHelper.cs
- TextViewSelectionProcessor.cs
- ChildChangedEventArgs.cs
- HitTestParameters3D.cs
- DaylightTime.cs
- PointValueSerializer.cs
- HandlerBase.cs
- DashStyles.cs
- DesignTimeVisibleAttribute.cs
- PrimitiveXmlSerializers.cs
- SerializationEventsCache.cs
- RenderTargetBitmap.cs
- UmAlQuraCalendar.cs
- DocumentPageTextView.cs
- Converter.cs
- SmtpFailedRecipientException.cs
- ObjectView.cs
- FileDialogPermission.cs
- AudioFileOut.cs
- Run.cs
- PropertyItem.cs
- FunctionQuery.cs
- HtmlTableCell.cs
- PropertyChangingEventArgs.cs
- MetaType.cs
- RegionIterator.cs
- ButtonBaseAdapter.cs
- Gdiplus.cs
- TagPrefixAttribute.cs
- DataGridViewRowEventArgs.cs
- MaskPropertyEditor.cs
- CategoryGridEntry.cs
- XmlCollation.cs
- ThreadSafeList.cs
- RegisteredDisposeScript.cs
- DataGridViewHeaderCell.cs
- TextRangeEdit.cs
- DomainUpDown.cs
- BitArray.cs
- SafeHandles.cs
- MdImport.cs
- Separator.cs
- WebPermission.cs
- EntityDataSourceQueryBuilder.cs