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
- FileAuthorizationModule.cs
- StringFormat.cs
- DataGridParentRows.cs
- HopperCache.cs
- controlskin.cs
- PasswordBox.cs
- SqlBinder.cs
- TreeViewHitTestInfo.cs
- ContextMarshalException.cs
- MultiAsyncResult.cs
- XmlDataImplementation.cs
- MenuItem.cs
- NameObjectCollectionBase.cs
- MarshalByRefObject.cs
- WebRequest.cs
- SourceFileInfo.cs
- Pool.cs
- CompositeTypefaceMetrics.cs
- XhtmlTextWriter.cs
- FilterableData.cs
- XPathDescendantIterator.cs
- WebRequestModuleElementCollection.cs
- XPathMultyIterator.cs
- MediaContextNotificationWindow.cs
- SchemaImporter.cs
- OdbcParameterCollection.cs
- ByteConverter.cs
- RealizationDrawingContextWalker.cs
- Effect.cs
- TypePresenter.xaml.cs
- SkipQueryOptionExpression.cs
- VectorAnimation.cs
- ItemCheckEvent.cs
- IPPacketInformation.cs
- BehaviorEditorPart.cs
- SemanticBasicElement.cs
- EncodingStreamWrapper.cs
- ReferenceService.cs
- SqlNamer.cs
- GraphicsState.cs
- CmsInterop.cs
- GrabHandleGlyph.cs
- KeyMatchBuilder.cs
- DateTimeFormat.cs
- StandardCommands.cs
- DefaultEventAttribute.cs
- ValidatorCompatibilityHelper.cs
- MultiBindingExpression.cs
- TextureBrush.cs
- DbParameterCollectionHelper.cs
- Clause.cs
- Point.cs
- SHA384Cng.cs
- EpmContentSerializerBase.cs
- DataGridViewRowsAddedEventArgs.cs
- X509IssuerSerialKeyIdentifierClause.cs
- odbcmetadatacollectionnames.cs
- CreatingCookieEventArgs.cs
- DataObject.cs
- WorkflowTimerService.cs
- ObjectStateManager.cs
- AudioDeviceOut.cs
- DoubleAverageAggregationOperator.cs
- CommonBehaviorsSection.cs
- Dynamic.cs
- CheckBoxRenderer.cs
- ButtonField.cs
- ColumnMapTranslator.cs
- ThrowHelper.cs
- DesignerForm.cs
- EntityDataSourceWrapper.cs
- SchemaImporterExtensionElement.cs
- NativeMethods.cs
- RelationshipSet.cs
- JsonSerializer.cs
- CodeArrayIndexerExpression.cs
- RectAnimationClockResource.cs
- OAVariantLib.cs
- CommandManager.cs
- HealthMonitoringSectionHelper.cs
- bidPrivateBase.cs
- InputLanguageManager.cs
- DashStyles.cs
- UserPreferenceChangedEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- FunctionImportMapping.cs
- ObjectDisposedException.cs
- StreamedWorkflowDefinitionContext.cs
- SafeUserTokenHandle.cs
- DataColumn.cs
- CryptoApi.cs
- mda.cs
- RefType.cs
- TrackingRecord.cs
- ChannelSinkStacks.cs
- InvalidateEvent.cs
- ProtectedConfigurationSection.cs
- HuffmanTree.cs
- AdornerPresentationContext.cs
- DesignerDataConnection.cs