Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Input / DeadCharTextComposition.cs / 1 / 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
- IdentityHolder.cs
- InternalSafeNativeMethods.cs
- MessagePropertyDescriptionCollection.cs
- RealizationContext.cs
- ModelEditingScope.cs
- PassportAuthenticationEventArgs.cs
- QueryAccessibilityHelpEvent.cs
- StandardMenuStripVerb.cs
- FloatSumAggregationOperator.cs
- XmlSignatureManifest.cs
- WebPartChrome.cs
- ListDictionaryInternal.cs
- SHA512CryptoServiceProvider.cs
- XPathSelfQuery.cs
- WebPartEditVerb.cs
- OleDbConnection.cs
- ToolStripDropDownClosingEventArgs.cs
- TextChange.cs
- OptimizedTemplateContent.cs
- HttpListenerPrefixCollection.cs
- ThreadStaticAttribute.cs
- DbReferenceCollection.cs
- XmlEntityReference.cs
- ListViewAutomationPeer.cs
- ComponentRenameEvent.cs
- ProfilePropertySettingsCollection.cs
- IncrementalCompileAnalyzer.cs
- TextDecorationCollection.cs
- DataGridViewRowCancelEventArgs.cs
- ObjectCloneHelper.cs
- UserControlBuildProvider.cs
- ProfileInfo.cs
- OrderedEnumerableRowCollection.cs
- FindProgressChangedEventArgs.cs
- DataObjectAttribute.cs
- NavigatorOutput.cs
- MultilineStringConverter.cs
- ResXDataNode.cs
- ConsoleCancelEventArgs.cs
- NumericExpr.cs
- ButtonBaseAdapter.cs
- AsyncOperation.cs
- AsyncOperationContext.cs
- DesignerTextWriter.cs
- SmtpDateTime.cs
- FloaterParagraph.cs
- SafeMILHandle.cs
- TimeSpanHelper.cs
- BitmapEffectCollection.cs
- HwndSource.cs
- AsyncPostBackTrigger.cs
- TextServicesProperty.cs
- IPAddressCollection.cs
- _ChunkParse.cs
- TextStore.cs
- ZipFileInfo.cs
- WindowsTooltip.cs
- GlyphTypeface.cs
- FormViewInsertedEventArgs.cs
- List.cs
- BindingContext.cs
- SerializationObjectManager.cs
- ADMembershipProvider.cs
- WindowsStreamSecurityElement.cs
- ContainerSelectorGlyph.cs
- CompositionAdorner.cs
- TableRowGroup.cs
- SequenceDesigner.cs
- HtmlInputText.cs
- LayoutEditorPart.cs
- Policy.cs
- DataGridTemplateColumn.cs
- CompoundFileDeflateTransform.cs
- Scripts.cs
- Compiler.cs
- ConnectionString.cs
- DiscardableAttribute.cs
- XmlSchemaType.cs
- SelectionWordBreaker.cs
- LookupBindingPropertiesAttribute.cs
- FtpWebResponse.cs
- TabControl.cs
- CollectionConverter.cs
- NotificationContext.cs
- GridViewHeaderRowPresenter.cs
- TextDecorationCollection.cs
- GradientBrush.cs
- UiaCoreProviderApi.cs
- DelegateSerializationHolder.cs
- HierarchicalDataSourceDesigner.cs
- NameSpaceExtractor.cs
- IncrementalHitTester.cs
- EntityDataSourceContainerNameConverter.cs
- PersonalizableAttribute.cs
- TimeSpanOrInfiniteValidator.cs
- SerializationBinder.cs
- CngUIPolicy.cs
- FlowPosition.cs
- PageTextBox.cs
- XPathDocumentNavigator.cs