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
- XmlSchemaComplexContentExtension.cs
- EdmError.cs
- RegisteredScript.cs
- Clipboard.cs
- EntityDataSourceContainerNameConverter.cs
- ExpressionBindingCollection.cs
- BinaryFormatterWriter.cs
- Timeline.cs
- PageThemeCodeDomTreeGenerator.cs
- XmlStringTable.cs
- XpsSerializationManagerAsync.cs
- SpellerStatusTable.cs
- CustomErrorCollection.cs
- DataTemplateSelector.cs
- TimeSpan.cs
- WindowsToolbarAsMenu.cs
- DES.cs
- WindowsTooltip.cs
- OdbcConnectionStringbuilder.cs
- DispatcherSynchronizationContext.cs
- SspiNegotiationTokenAuthenticator.cs
- ReadOnlyDataSource.cs
- Util.cs
- SecUtil.cs
- LinqDataSourceSelectEventArgs.cs
- SqlUtils.cs
- FormViewInsertEventArgs.cs
- ComponentChangedEvent.cs
- SafeUserTokenHandle.cs
- GradientStopCollection.cs
- StringUtil.cs
- StringArrayConverter.cs
- GroupBoxAutomationPeer.cs
- WorkflowOperationBehavior.cs
- PointAnimationUsingPath.cs
- VisualProxy.cs
- DataSourceHelper.cs
- MetricEntry.cs
- BindingElement.cs
- DataGridViewLayoutData.cs
- SmtpLoginAuthenticationModule.cs
- SystemNetHelpers.cs
- KnownTypes.cs
- COM2Properties.cs
- CultureInfo.cs
- XmlStreamNodeWriter.cs
- _UncName.cs
- Vector3DCollection.cs
- HttpsChannelListener.cs
- LogicalExpr.cs
- BoundPropertyEntry.cs
- SafeNativeMethods.cs
- SessionEndingCancelEventArgs.cs
- WeakReference.cs
- ContentPlaceHolderDesigner.cs
- TextEditorSelection.cs
- sqlcontext.cs
- UpdatePanelControlTrigger.cs
- mediaeventshelper.cs
- Brushes.cs
- sortedlist.cs
- KnownTypesHelper.cs
- Pair.cs
- AssociatedControlConverter.cs
- Hash.cs
- HashCodeCombiner.cs
- DBCommandBuilder.cs
- OleDbParameter.cs
- PeerOutputChannel.cs
- XmlArrayItemAttributes.cs
- DecoderNLS.cs
- DbProviderFactoriesConfigurationHandler.cs
- ToggleButton.cs
- KeyEventArgs.cs
- ControllableStoryboardAction.cs
- RelationshipDetailsRow.cs
- HeaderElement.cs
- PerfService.cs
- TaskFactory.cs
- DataMemberFieldConverter.cs
- AsyncContentLoadedEventArgs.cs
- AssemblyNameProxy.cs
- LeaseManager.cs
- TTSEngineProxy.cs
- HttpListenerContext.cs
- Animatable.cs
- BaseTreeIterator.cs
- SQLDecimal.cs
- ItemTypeToolStripMenuItem.cs
- XPathSelectionIterator.cs
- WindowsIdentity.cs
- DataGridRow.cs
- Object.cs
- BinaryObjectReader.cs
- DocumentGrid.cs
- Soap12FormatExtensions.cs
- SystemDropShadowChrome.cs
- NativeMethods.cs
- GCHandleCookieTable.cs
- ConfigXmlSignificantWhitespace.cs