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
- WorkflowRuntime.cs
- DataGridPagerStyle.cs
- ScriptResourceInfo.cs
- AccessDataSourceDesigner.cs
- SettingsBase.cs
- IItemContainerGenerator.cs
- MSHTMLHost.cs
- GACIdentityPermission.cs
- TagMapInfo.cs
- ResourcesBuildProvider.cs
- BaseComponentEditor.cs
- DataGridItem.cs
- GradientStop.cs
- processwaithandle.cs
- regiisutil.cs
- InputLanguage.cs
- EllipseGeometry.cs
- FileEnumerator.cs
- ElementNotEnabledException.cs
- EventBookmark.cs
- Line.cs
- IsolatedStorageFilePermission.cs
- FileDialog.cs
- PasswordDeriveBytes.cs
- XmlUTF8TextWriter.cs
- RegexWriter.cs
- GB18030Encoding.cs
- XmlSerializerAssemblyAttribute.cs
- HtmlMeta.cs
- JournalEntry.cs
- SafeNativeMethods.cs
- SapiRecoInterop.cs
- XamlClipboardData.cs
- PropertyGroupDescription.cs
- DataGridViewLinkCell.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- Utils.cs
- SQLDateTime.cs
- SimpleFieldTemplateFactory.cs
- StyleCollectionEditor.cs
- WindowsListView.cs
- BindingListCollectionView.cs
- MultipartIdentifier.cs
- DataGridToolTip.cs
- ParameterCollectionEditor.cs
- Switch.cs
- FileNotFoundException.cs
- BatchStream.cs
- ConfigurationPropertyCollection.cs
- AccessKeyManager.cs
- MatrixStack.cs
- ArrayElementGridEntry.cs
- ByteKeyFrameCollection.cs
- MediaPlayerState.cs
- ValidateNames.cs
- SmtpNegotiateAuthenticationModule.cs
- DataGridColumnCollection.cs
- SafeLibraryHandle.cs
- SmiEventSink.cs
- Rss20ItemFormatter.cs
- ACL.cs
- TableLayoutStyleCollection.cs
- ProxyGenerationError.cs
- AdRotator.cs
- ConnectionStringSettings.cs
- ControlCollection.cs
- CompilerTypeWithParams.cs
- ContentDisposition.cs
- Native.cs
- ObjectSecurity.cs
- GACMembershipCondition.cs
- CodeObjectCreateExpression.cs
- QilPatternVisitor.cs
- CodeMemberEvent.cs
- UInt32.cs
- ListCardsInFileRequest.cs
- ManualWorkflowSchedulerService.cs
- VersionPair.cs
- LockCookie.cs
- SrgsElementFactory.cs
- Rotation3DKeyFrameCollection.cs
- VariableQuery.cs
- CompilerTypeWithParams.cs
- DbgCompiler.cs
- DataSourceCacheDurationConverter.cs
- ActivityDesigner.cs
- ErrorProvider.cs
- EncryptedPackageFilter.cs
- EncoderNLS.cs
- CultureInfo.cs
- WorkflowServiceNamespace.cs
- ListenUriMode.cs
- TextDecorationCollectionConverter.cs
- NamespaceDecl.cs
- ItemCollection.cs
- DbConnectionInternal.cs
- ToolBarTray.cs
- documentsequencetextview.cs
- TearOffProxy.cs
- FormViewDeleteEventArgs.cs