Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / DeadCharTextComposition.cs / 1305600 / DeadCharTextComposition.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: the DeadCharTextComposition class // // History: // 06/14/2004 : yutakas created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Text; using System.Windows.Threading; using System.Windows; using System.Security; using MS.Win32; using Microsoft.Win32; // for RegistryKey class namespace System.Windows.Input { ////// the DeadCharTextComposition class is the composition object for Dead key scequence. /// internal sealed class DeadCharTextComposition : TextComposition { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Critical - calls TextComposition:ctor which is critical ( as it stores InputManager). /// [SecurityCritical] internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice) { } #endregion Constructors //------------------------------------------------------ // // internal Properties // //----------------------------------------------------- internal bool Composed { get {return _composed;} set {_composed = value;} } //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ // If this is true, the text has been composed with actual char. private bool _composed; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: the DeadCharTextComposition class // // History: // 06/14/2004 : yutakas created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Text; using System.Windows.Threading; using System.Windows; using System.Security; using MS.Win32; using Microsoft.Win32; // for RegistryKey class namespace System.Windows.Input { ////// the DeadCharTextComposition class is the composition object for Dead key scequence. /// internal sealed class DeadCharTextComposition : TextComposition { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Critical - calls TextComposition:ctor which is critical ( as it stores InputManager). /// [SecurityCritical] internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice) { } #endregion Constructors //------------------------------------------------------ // // internal Properties // //----------------------------------------------------- internal bool Composed { get {return _composed;} set {_composed = value;} } //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ // If this is true, the text has been composed with actual char. private bool _composed; } } // 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
- Selection.cs
- ImageDesigner.cs
- EventDescriptor.cs
- XmlValidatingReaderImpl.cs
- HttpPostClientProtocol.cs
- HtmlInputPassword.cs
- EnterpriseServicesHelper.cs
- Unit.cs
- GeometryGroup.cs
- ComponentEditorForm.cs
- StorageEntityTypeMapping.cs
- ZeroOpNode.cs
- ExpressionEditorAttribute.cs
- ButtonChrome.cs
- SharedMemory.cs
- WhitespaceRuleReader.cs
- PaperSource.cs
- LOSFormatter.cs
- TextTreeUndo.cs
- HttpModuleActionCollection.cs
- ToolStripPanelCell.cs
- ResourceContainerWrapper.cs
- PartManifestEntry.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SapiAttributeParser.cs
- NativeMethodsOther.cs
- AttachmentService.cs
- MediaPlayer.cs
- UnauthorizedWebPart.cs
- WpfWebRequestHelper.cs
- DataListItemEventArgs.cs
- CounterCreationData.cs
- InternalsVisibleToAttribute.cs
- SBCSCodePageEncoding.cs
- ManipulationStartingEventArgs.cs
- XmlRawWriterWrapper.cs
- HashSetDebugView.cs
- WebColorConverter.cs
- ScaleTransform.cs
- HtmlInputImage.cs
- SpellerInterop.cs
- Char.cs
- Composition.cs
- RequestResizeEvent.cs
- _ProxyRegBlob.cs
- Int32.cs
- JavascriptCallbackMessageInspector.cs
- Gdiplus.cs
- XLinq.cs
- BitStack.cs
- DataGridBoolColumn.cs
- Semaphore.cs
- SpeechRecognitionEngine.cs
- DataServiceExpressionVisitor.cs
- CommandField.cs
- DisplayMemberTemplateSelector.cs
- TokenBasedSetEnumerator.cs
- FontFamily.cs
- ParameterElement.cs
- FlatButtonAppearance.cs
- CircleEase.cs
- JoinGraph.cs
- SizeAnimationBase.cs
- ClearTypeHintValidation.cs
- ProviderMetadata.cs
- NativeCppClassAttribute.cs
- ProgressiveCrcCalculatingStream.cs
- PropertyChangedEventManager.cs
- Rules.cs
- CryptoKeySecurity.cs
- BitmapEffect.cs
- XmlSchemaGroupRef.cs
- ClientFormsAuthenticationMembershipProvider.cs
- NamespaceCollection.cs
- DropDownList.cs
- nulltextnavigator.cs
- UnicodeEncoding.cs
- SmtpReplyReaderFactory.cs
- SafeNativeMethods.cs
- MethodCallConverter.cs
- storepermissionattribute.cs
- FunctionImportMapping.cs
- HtmlHead.cs
- SelectorItemAutomationPeer.cs
- XPathNodeHelper.cs
- Material.cs
- TickBar.cs
- GridProviderWrapper.cs
- ISFTagAndGuidCache.cs
- DataGridPageChangedEventArgs.cs
- EditingCommands.cs
- TraceHandler.cs
- CryptoApi.cs
- DynamicResourceExtension.cs
- PriorityQueue.cs
- InvokeGenerator.cs
- CompiledIdentityConstraint.cs
- PropertyMapper.cs
- TreeNodeStyleCollection.cs
- ListBoxChrome.cs