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
- ExtenderProvidedPropertyAttribute.cs
- WebPartEditorOkVerb.cs
- ButtonFlatAdapter.cs
- ZipIOCentralDirectoryBlock.cs
- BoundColumn.cs
- BamlMapTable.cs
- ObjectParameterCollection.cs
- BlockingCollection.cs
- ViewBase.cs
- OpCodes.cs
- CodeMethodMap.cs
- CodeStatement.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- TransformDescriptor.cs
- Transform.cs
- DeviceSpecific.cs
- TemplatedWizardStep.cs
- _KerberosClient.cs
- NetSectionGroup.cs
- SqlTrackingService.cs
- ProviderUtil.cs
- StringKeyFrameCollection.cs
- TextRenderingModeValidation.cs
- GradientSpreadMethodValidation.cs
- XamlDesignerSerializationManager.cs
- SmiTypedGetterSetter.cs
- CacheMode.cs
- AssertSection.cs
- _NegoState.cs
- TextTreeInsertUndoUnit.cs
- XmlUTF8TextWriter.cs
- ShapingEngine.cs
- ReadOnlyHierarchicalDataSourceView.cs
- FactoryGenerator.cs
- DictionaryBase.cs
- RuleConditionDialog.cs
- ConfigurationManager.cs
- counter.cs
- SqlGenerator.cs
- ErrorStyle.cs
- WebPartConnectionCollection.cs
- Dispatcher.cs
- XmlC14NWriter.cs
- cookiecontainer.cs
- DataGridViewDataErrorEventArgs.cs
- XmlKeywords.cs
- input.cs
- SqlConnection.cs
- filewebrequest.cs
- SHA512Managed.cs
- MetadataWorkspace.cs
- ValidatorCollection.cs
- InnerItemCollectionView.cs
- HwndMouseInputProvider.cs
- ConvertBinder.cs
- IgnoreSectionHandler.cs
- OracleFactory.cs
- UnsafeNativeMethods.cs
- SqlInternalConnectionSmi.cs
- CacheForPrimitiveTypes.cs
- WebInvokeAttribute.cs
- XmlSchemaAttribute.cs
- InvalidStoreProtectionKeyException.cs
- X509Certificate.cs
- PageEventArgs.cs
- SendKeys.cs
- TreeIterator.cs
- ClientRoleProvider.cs
- RecordManager.cs
- FontFamily.cs
- SqlDataSourceFilteringEventArgs.cs
- recordstate.cs
- FrameworkContentElement.cs
- ChangeBlockUndoRecord.cs
- IList.cs
- EntityDataSourceStatementEditorForm.cs
- StreamInfo.cs
- AttachmentCollection.cs
- SelectionPattern.cs
- MdiWindowListStrip.cs
- FormatException.cs
- HttpCachePolicyElement.cs
- SslStream.cs
- TableLayoutStyleCollection.cs
- HuffmanTree.cs
- OleDbDataAdapter.cs
- HybridWebProxyFinder.cs
- ProcessModuleCollection.cs
- AnnouncementSendsAsyncResult.cs
- NotConverter.cs
- SqlClientFactory.cs
- TranslateTransform3D.cs
- XmlSchemaSubstitutionGroup.cs
- Transform.cs
- RoutedEvent.cs
- MultiBinding.cs
- DataSvcMapFileSerializer.cs
- FontFamily.cs
- CustomErrorCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs