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
- ContextMenuStrip.cs
- QilTernary.cs
- OperationInvokerTrace.cs
- RunWorkerCompletedEventArgs.cs
- DiagnosticsElement.cs
- FontUnit.cs
- ThemeableAttribute.cs
- Switch.cs
- streamingZipPartStream.cs
- SplitterEvent.cs
- BinaryWriter.cs
- XsltArgumentList.cs
- ReadOnlyHierarchicalDataSource.cs
- EventLogger.cs
- CmsUtils.cs
- IndicCharClassifier.cs
- SystemFonts.cs
- PersonalizationStateQuery.cs
- SimpleTypeResolver.cs
- figurelengthconverter.cs
- Instrumentation.cs
- XmlSiteMapProvider.cs
- DataTableNewRowEvent.cs
- WebPartEventArgs.cs
- TemplateApplicationHelper.cs
- DataSet.cs
- COAUTHIDENTITY.cs
- FileDialog_Vista.cs
- DetailsViewDeleteEventArgs.cs
- PolygonHotSpot.cs
- MessageBox.cs
- SubstitutionResponseElement.cs
- FilterEventArgs.cs
- QilLoop.cs
- Merger.cs
- ImageButton.cs
- DataControlFieldCollection.cs
- Viewport3DVisual.cs
- IndexExpression.cs
- XappLauncher.cs
- ConfigXmlComment.cs
- CompressEmulationStream.cs
- OleDbDataAdapter.cs
- FixedPageStructure.cs
- XmlSchemaSimpleContentExtension.cs
- Button.cs
- AllMembershipCondition.cs
- BinaryFormatterWriter.cs
- StreamInfo.cs
- ExternalFile.cs
- Form.cs
- WhitespaceReader.cs
- InputBinding.cs
- EntityProxyFactory.cs
- TailPinnedEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- SpotLight.cs
- Line.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ModifierKeysConverter.cs
- GuidelineSet.cs
- StyleXamlParser.cs
- DefaultMemberAttribute.cs
- DeferredElementTreeState.cs
- ContractComponent.cs
- AnnotationHighlightLayer.cs
- CustomLineCap.cs
- ContentValidator.cs
- IntegerValidatorAttribute.cs
- SystemTcpConnection.cs
- XmlElementList.cs
- CorrelationTokenInvalidatedHandler.cs
- ITextView.cs
- FontStyleConverter.cs
- OpenFileDialog.cs
- CopyAttributesAction.cs
- BindStream.cs
- DataException.cs
- DataGridAddNewRow.cs
- PagedDataSource.cs
- BitmapScalingModeValidation.cs
- QuaternionIndependentAnimationStorage.cs
- Page.cs
- EntityDataSourceReferenceGroup.cs
- ChangeTracker.cs
- ErrorProvider.cs
- SiteMapPath.cs
- EntitySetBase.cs
- ArrayElementGridEntry.cs
- DataReceivedEventArgs.cs
- Input.cs
- OdbcParameterCollection.cs
- BufferedStream2.cs
- TheQuery.cs
- BasicAsyncResult.cs
- Operators.cs
- DataServiceRequest.cs
- ImageList.cs
- ComponentEditorPage.cs
- HwndHost.cs