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
- FreezableOperations.cs
- FusionWrap.cs
- DefaultTextStore.cs
- DataTrigger.cs
- DataGridViewSortCompareEventArgs.cs
- TextAnchor.cs
- CapabilitiesSection.cs
- WebPartZoneCollection.cs
- LayoutExceptionEventArgs.cs
- DataGridParentRows.cs
- CompositionDesigner.cs
- PhysicalFontFamily.cs
- QueryCacheManager.cs
- SudsWriter.cs
- EditorReuseAttribute.cs
- HttpValueCollection.cs
- PlanCompilerUtil.cs
- SortedDictionary.cs
- HatchBrush.cs
- RadioButtonList.cs
- CodeTypeOfExpression.cs
- XmlDownloadManager.cs
- WebSysDefaultValueAttribute.cs
- StreamWriter.cs
- XmlQueryRuntime.cs
- IntSecurity.cs
- WhereQueryOperator.cs
- SQLInt32.cs
- RadioButton.cs
- EmbeddedMailObjectsCollection.cs
- DataGrid.cs
- SelectionRange.cs
- _Connection.cs
- ParallelRangeManager.cs
- Timer.cs
- MarkupExtensionParser.cs
- GeneralTransform3DGroup.cs
- InvalidCardException.cs
- HuffCodec.cs
- OpenTypeCommon.cs
- GenericXmlSecurityTokenAuthenticator.cs
- DocumentScope.cs
- Context.cs
- ParallelActivityDesigner.cs
- PropertyEmitter.cs
- LeaseManager.cs
- HostUtils.cs
- Function.cs
- FileDataSource.cs
- Scene3D.cs
- JoinQueryOperator.cs
- Symbol.cs
- GenericTextProperties.cs
- CodeExpressionRuleDeclaration.cs
- StartUpEventArgs.cs
- FileNotFoundException.cs
- TCEAdapterGenerator.cs
- ContextQuery.cs
- SchemaConstraints.cs
- TrackBarDesigner.cs
- BatchStream.cs
- Listener.cs
- ApplicationDirectoryMembershipCondition.cs
- SecUtil.cs
- UnsafeNativeMethods.cs
- UrlPropertyAttribute.cs
- DataFieldEditor.cs
- XmlSchemaDocumentation.cs
- ProtocolElementCollection.cs
- BrushConverter.cs
- TreeNodeBinding.cs
- ReturnType.cs
- DrawingVisualDrawingContext.cs
- InputLangChangeEvent.cs
- FastEncoderWindow.cs
- TextWriter.cs
- ScrollData.cs
- BindableAttribute.cs
- streamingZipPartStream.cs
- HTTPNotFoundHandler.cs
- HttpServerUtilityBase.cs
- InProcStateClientManager.cs
- MemoryRecordBuffer.cs
- ReaderWriterLock.cs
- RecommendedAsConfigurableAttribute.cs
- Style.cs
- CodeGeneratorOptions.cs
- Serializer.cs
- EncoderFallback.cs
- MetadataPropertyCollection.cs
- AccessDataSourceView.cs
- SrgsItemList.cs
- handlecollector.cs
- BitmapSourceSafeMILHandle.cs
- FrameworkElement.cs
- HierarchicalDataBoundControl.cs
- HtmlFormAdapter.cs
- FlowDocumentPage.cs
- DefaultTraceListener.cs
- XmlUtil.cs