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
- WorkerRequest.cs
- TabPage.cs
- ReadContentAsBinaryHelper.cs
- HttpListener.cs
- SynchronizedInputAdaptor.cs
- CacheMemory.cs
- Walker.cs
- TableLayoutPanel.cs
- InvokeMethod.cs
- Label.cs
- TextBounds.cs
- ToolZone.cs
- Oid.cs
- SignerInfo.cs
- QueryableFilterUserControl.cs
- CodeSnippetCompileUnit.cs
- PropertyGridView.cs
- RelativeSource.cs
- WebRequestModuleElementCollection.cs
- IEnumerable.cs
- DataGridViewComboBoxEditingControl.cs
- SynchronizationContext.cs
- MimeMultiPart.cs
- WindowsSysHeader.cs
- BorderSidesEditor.cs
- PageAdapter.cs
- grammarelement.cs
- MetadataArtifactLoaderComposite.cs
- MatrixIndependentAnimationStorage.cs
- CoreSwitches.cs
- WebContext.cs
- DSASignatureDeformatter.cs
- CellRelation.cs
- PolicyManager.cs
- NoResizeHandleGlyph.cs
- DataTableClearEvent.cs
- XmlSchemaSimpleTypeList.cs
- APCustomTypeDescriptor.cs
- DataGridViewRowConverter.cs
- ObjectStateFormatter.cs
- XmlObjectSerializerContext.cs
- PolyLineSegment.cs
- MissingFieldException.cs
- FormViewCommandEventArgs.cs
- DbProviderConfigurationHandler.cs
- Statements.cs
- IncrementalReadDecoders.cs
- ClientRuntimeConfig.cs
- SqlBulkCopy.cs
- SmiTypedGetterSetter.cs
- ChannelHandler.cs
- RawMouseInputReport.cs
- ServiceSecurityContext.cs
- ExpressionBuilderContext.cs
- MarkupCompilePass2.cs
- SqlServer2KCompatibilityAnnotation.cs
- StringKeyFrameCollection.cs
- AnnotationHelper.cs
- WebPartZone.cs
- ProfileInfo.cs
- ParameterToken.cs
- NameNode.cs
- OrderPreservingSpoolingTask.cs
- LazyInitializer.cs
- LogicalExpr.cs
- XmlDigitalSignatureProcessor.cs
- ConfigXmlWhitespace.cs
- PenThreadPool.cs
- TrackingMemoryStreamFactory.cs
- Assert.cs
- StackSpiller.Temps.cs
- SmiGettersStream.cs
- ConversionValidationRule.cs
- DataGridViewColumnConverter.cs
- HttpHostedTransportConfiguration.cs
- SHA256.cs
- RayMeshGeometry3DHitTestResult.cs
- ListView.cs
- IndicFontClient.cs
- DataGridCellsPresenter.cs
- SoapAttributeOverrides.cs
- TextBoxAutoCompleteSourceConverter.cs
- IdentityHolder.cs
- DbInsertCommandTree.cs
- InvalidComObjectException.cs
- SafeHandles.cs
- TextParagraphProperties.cs
- GroupDescription.cs
- URI.cs
- TextShapeableCharacters.cs
- HealthMonitoringSectionHelper.cs
- ProfileServiceManager.cs
- ProvidePropertyAttribute.cs
- BitmapEffectGroup.cs
- TreeNodeMouseHoverEvent.cs
- SqlCommand.cs
- SynchronizationLockException.cs
- HttpServerUtilityBase.cs
- XmlSchemaSimpleContentExtension.cs
- GACMembershipCondition.cs