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
- Helpers.cs
- DataSysAttribute.cs
- ToolboxComponentsCreatingEventArgs.cs
- EventLogRecord.cs
- ContextActivityUtils.cs
- LayoutSettings.cs
- SelectionPattern.cs
- WebPartChrome.cs
- KeyValuePairs.cs
- WebPartChrome.cs
- Partitioner.cs
- DataGridViewColumnCollection.cs
- CacheHelper.cs
- MultiDataTrigger.cs
- SectionInput.cs
- MergeEnumerator.cs
- CustomErrorsSectionWrapper.cs
- GridViewHeaderRowPresenter.cs
- ArgIterator.cs
- ConfigXmlAttribute.cs
- UnknownExceptionActionHelper.cs
- RawKeyboardInputReport.cs
- Inflater.cs
- ResourceDescriptionAttribute.cs
- TitleStyle.cs
- SimpleRecyclingCache.cs
- StructuredType.cs
- BitmapVisualManager.cs
- HierarchicalDataTemplate.cs
- ArraySegment.cs
- FileVersionInfo.cs
- TextSelection.cs
- ByteAnimation.cs
- DataGridViewComboBoxCell.cs
- ResourceCategoryAttribute.cs
- SqlDataSourceView.cs
- RecognitionEventArgs.cs
- SoapObjectWriter.cs
- AuthenticationModuleElementCollection.cs
- XmlRawWriter.cs
- Select.cs
- EventLogTraceListener.cs
- DataDocumentXPathNavigator.cs
- RadioButtonRenderer.cs
- ChangePassword.cs
- TimeSpanSecondsConverter.cs
- ToolboxItemFilterAttribute.cs
- QilFunction.cs
- CapabilitiesState.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ProviderException.cs
- UnmanagedMarshal.cs
- ContextMenu.cs
- AsyncCompletedEventArgs.cs
- CallbackValidatorAttribute.cs
- GridViewRowCollection.cs
- OdbcDataAdapter.cs
- ControlHelper.cs
- SingleQueryOperator.cs
- DataExpression.cs
- FilteredReadOnlyMetadataCollection.cs
- BitmapEffectCollection.cs
- SafeEventLogReadHandle.cs
- ToolStripDesigner.cs
- TcpWorkerProcess.cs
- CommonRemoteMemoryBlock.cs
- GenericEnumerator.cs
- DataColumnChangeEvent.cs
- HostDesigntimeLicenseContext.cs
- PropertyNames.cs
- ConfigurationSchemaErrors.cs
- SafeThreadHandle.cs
- ToolStripItemImageRenderEventArgs.cs
- ThemeDictionaryExtension.cs
- EnumUnknown.cs
- OleDbTransaction.cs
- RegistrationServices.cs
- HttpConfigurationContext.cs
- XmlSubtreeReader.cs
- DesignerEditorPartChrome.cs
- WindowsRegion.cs
- FloaterBaseParagraph.cs
- ProtocolElement.cs
- TypeAccessException.cs
- DoubleCollectionValueSerializer.cs
- DetailsViewDeleteEventArgs.cs
- NotFiniteNumberException.cs
- PaperSize.cs
- documentation.cs
- ZipIOFileItemStream.cs
- InboundActivityHelper.cs
- SqlDependencyListener.cs
- IMembershipProvider.cs
- ReadOnlyPropertyMetadata.cs
- PrintingPermission.cs
- XmlExpressionDumper.cs
- TreeView.cs
- ProfileInfo.cs
- SecurityManager.cs
- DataGridColumn.cs