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
- XPathNavigatorKeyComparer.cs
- XmlReader.cs
- WebPartActionVerb.cs
- AssociationEndMember.cs
- ZipPackage.cs
- WpfPayload.cs
- _LocalDataStoreMgr.cs
- ToolStripGrip.cs
- SrgsGrammar.cs
- BooleanProjectedSlot.cs
- TrustSection.cs
- DataShape.cs
- FtpWebResponse.cs
- LiteralText.cs
- WindowsTokenRoleProvider.cs
- PreservationFileReader.cs
- CodeMemberField.cs
- ExpressionBuilder.cs
- ProcessThread.cs
- XsdSchemaFileEditor.cs
- DeferrableContentConverter.cs
- StaticTextPointer.cs
- LoginUtil.cs
- ToolStripItemDataObject.cs
- DbExpressionBuilder.cs
- CodeGroup.cs
- LocationEnvironment.cs
- RectAnimationClockResource.cs
- TextEditorCharacters.cs
- InternalControlCollection.cs
- columnmapkeybuilder.cs
- ColorMap.cs
- EUCJPEncoding.cs
- RegexWorker.cs
- SymmetricAlgorithm.cs
- GridViewDesigner.cs
- TypeValidationEventArgs.cs
- SelectionProviderWrapper.cs
- DateTimeConstantAttribute.cs
- PermissionToken.cs
- ListViewSortEventArgs.cs
- _BaseOverlappedAsyncResult.cs
- DataFormat.cs
- HtmlInputRadioButton.cs
- Visitor.cs
- DefaultEvaluationContext.cs
- RoutedCommand.cs
- DataGridCheckBoxColumn.cs
- MarginsConverter.cs
- TextParagraphProperties.cs
- TimeoutException.cs
- safelinkcollection.cs
- ClientFormsAuthenticationMembershipProvider.cs
- RoutedUICommand.cs
- InternalCache.cs
- DirectoryInfo.cs
- PrefixQName.cs
- TraceContextEventArgs.cs
- IdnElement.cs
- Merger.cs
- EntityDataSourceReferenceGroup.cs
- SignedXml.cs
- ConstNode.cs
- TableDetailsRow.cs
- EntityKeyElement.cs
- linebase.cs
- x509utils.cs
- SchemaDeclBase.cs
- DataGridViewRowsRemovedEventArgs.cs
- BuildProvider.cs
- XmlReaderDelegator.cs
- PanningMessageFilter.cs
- TrackingProfileDeserializationException.cs
- WsatServiceAddress.cs
- GlyphInfoList.cs
- Animatable.cs
- CodeStatement.cs
- CompModSwitches.cs
- PaperSource.cs
- SafeHandles.cs
- SafeEventLogReadHandle.cs
- TreeNodeBindingCollection.cs
- QilReference.cs
- BaseServiceProvider.cs
- RuleEngine.cs
- Image.cs
- NotCondition.cs
- _ListenerResponseStream.cs
- Brushes.cs
- CustomAttribute.cs
- WindowsGraphicsWrapper.cs
- HttpResponseInternalBase.cs
- PageThemeBuildProvider.cs
- Stylesheet.cs
- HttpListenerResponse.cs
- ScaleTransform3D.cs
- TextBoxRenderer.cs
- CheckedPointers.cs
- ModuleConfigurationInfo.cs
- ShaderEffect.cs