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
- SkewTransform.cs
- SimpleRecyclingCache.cs
- RecipientInfo.cs
- GenericsNotImplementedException.cs
- DataGridViewColumnConverter.cs
- DataServiceHost.cs
- ChannelManager.cs
- GiveFeedbackEvent.cs
- CrossContextChannel.cs
- ColorContextHelper.cs
- SafeSecurityHandles.cs
- StreamingContext.cs
- TemplateControlParser.cs
- Directory.cs
- Decimal.cs
- SafeSecurityHandles.cs
- ServiceModelActivity.cs
- FormView.cs
- OleDbStruct.cs
- WinFormsComponentEditor.cs
- CodeDelegateCreateExpression.cs
- WindowsAltTab.cs
- ManifestSignedXml.cs
- PointF.cs
- MailMessage.cs
- CompositionCommandSet.cs
- PolicyChain.cs
- TimelineGroup.cs
- SystemParameters.cs
- NaturalLanguageHyphenator.cs
- WebRequestModulesSection.cs
- XmlValueConverter.cs
- XamlUtilities.cs
- AspNetHostingPermission.cs
- AuthStoreRoleProvider.cs
- FixedTextBuilder.cs
- XPathNode.cs
- ConstructorBuilder.cs
- DataSourceCache.cs
- SimpleTableProvider.cs
- StringCollection.cs
- StaticSiteMapProvider.cs
- IResourceProvider.cs
- MethodToken.cs
- SafeNativeMethods.cs
- DictionaryTraceRecord.cs
- DataBoundControlAdapter.cs
- ScrollViewerAutomationPeer.cs
- Main.cs
- ServiceBuildProvider.cs
- AssemblyBuilder.cs
- PropertyManager.cs
- CallbackValidator.cs
- SqlCaseSimplifier.cs
- ExecutionEngineException.cs
- DataGridViewCellConverter.cs
- Control.cs
- AssemblyFilter.cs
- DrawingContextDrawingContextWalker.cs
- RestClientProxyHandler.cs
- Perspective.cs
- SinglePageViewer.cs
- BaseCollection.cs
- ProxyHelper.cs
- ProtocolsConfigurationEntry.cs
- OracleInternalConnection.cs
- FontStretch.cs
- InstanceKeyView.cs
- SoapEnumAttribute.cs
- VirtualDirectoryMappingCollection.cs
- CfgParser.cs
- OledbConnectionStringbuilder.cs
- ManagementOptions.cs
- TextBox.cs
- StrokeIntersection.cs
- SendMailErrorEventArgs.cs
- GridViewSelectEventArgs.cs
- SearchExpression.cs
- DataGridItemCollection.cs
- TextTreeExtractElementUndoUnit.cs
- URIFormatException.cs
- ITreeGenerator.cs
- SqlWebEventProvider.cs
- ScrollBarAutomationPeer.cs
- DashStyles.cs
- Avt.cs
- IndependentAnimationStorage.cs
- ActiveDocumentEvent.cs
- Unit.cs
- Faults.cs
- ItemType.cs
- PropertyMetadata.cs
- MetadataArtifactLoaderCompositeResource.cs
- PropertyManager.cs
- FacetEnabledSchemaElement.cs
- PointF.cs
- ReadOnlyCollection.cs
- FacetValueContainer.cs
- DeploymentSection.cs
- RTTrackingProfile.cs