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
- TextCollapsingProperties.cs
- RegistryKey.cs
- PropertyTabChangedEvent.cs
- PermissionRequestEvidence.cs
- NetCodeGroup.cs
- DesignRelation.cs
- PropertiesTab.cs
- WaitHandle.cs
- SyndicationSerializer.cs
- Int32Rect.cs
- XsltCompileContext.cs
- ToolStripTextBox.cs
- ToolboxItemWrapper.cs
- CachedCompositeFamily.cs
- CounterSet.cs
- control.ime.cs
- ListViewCommandEventArgs.cs
- EncryptedData.cs
- CompiledQueryCacheKey.cs
- localization.cs
- HierarchicalDataBoundControl.cs
- RtType.cs
- UIEndRequest.cs
- EncryptedXml.cs
- XAMLParseException.cs
- NetworkInterface.cs
- DocumentPageViewAutomationPeer.cs
- SectionInput.cs
- CaretElement.cs
- Nullable.cs
- AnnotationService.cs
- MatrixAnimationUsingKeyFrames.cs
- CharUnicodeInfo.cs
- NetworkInterface.cs
- OraclePermissionAttribute.cs
- ReceiveErrorHandling.cs
- SqlDataSource.cs
- DefinitionBase.cs
- DataBoundControl.cs
- X509ClientCertificateCredentialsElement.cs
- CqlGenerator.cs
- CategoryNameCollection.cs
- NamedPipeTransportManager.cs
- LinearGradientBrush.cs
- FunctionImportMapping.cs
- AutomationPropertyInfo.cs
- ExclusiveCanonicalizationTransform.cs
- VirtualPathProvider.cs
- TreeIterator.cs
- StringHandle.cs
- OutputCacheModule.cs
- DataRow.cs
- NavigationHelper.cs
- IISMapPath.cs
- assertwrapper.cs
- GridEntry.cs
- Options.cs
- HwndMouseInputProvider.cs
- HttpTransportSecurityElement.cs
- InputLangChangeRequestEvent.cs
- DivideByZeroException.cs
- ToolStripCollectionEditor.cs
- PeerInvitationResponse.cs
- DesignerAutoFormatCollection.cs
- CompiledELinqQueryState.cs
- UnsafeNativeMethods.cs
- RSAPKCS1SignatureDeformatter.cs
- TextRangeEditLists.cs
- ManagedFilter.cs
- CannotUnloadAppDomainException.cs
- ListViewItemSelectionChangedEvent.cs
- PreApplicationStartMethodAttribute.cs
- WinEventHandler.cs
- XsltQilFactory.cs
- ActionItem.cs
- MachinePropertyVariants.cs
- TableColumn.cs
- DispatcherEventArgs.cs
- ListBase.cs
- StylusCaptureWithinProperty.cs
- DbgUtil.cs
- SmtpSection.cs
- DataListItemEventArgs.cs
- DataSourceExpressionCollection.cs
- BooleanFunctions.cs
- PathGeometry.cs
- CmsInterop.cs
- SmtpReplyReaderFactory.cs
- CompressStream.cs
- SystemWebCachingSectionGroup.cs
- DataGridViewToolTip.cs
- StorageEntitySetMapping.cs
- TextServicesContext.cs
- Model3DGroup.cs
- DataSourceIDConverter.cs
- UnSafeCharBuffer.cs
- ResourcePart.cs
- SearchForVirtualItemEventArgs.cs
- NullableDoubleMinMaxAggregationOperator.cs
- DataReaderContainer.cs