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
- UTF7Encoding.cs
- PropertyItem.cs
- BitmapEffectvisualstate.cs
- BaseUriHelper.cs
- ExtractorMetadata.cs
- ToolStripContentPanelRenderEventArgs.cs
- DiagnosticTrace.cs
- WindowsContainer.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- Automation.cs
- CreateDataSourceDialog.cs
- PeerInvitationResponse.cs
- TagMapInfo.cs
- RawAppCommandInputReport.cs
- SourceFilter.cs
- AssemblyAttributes.cs
- TypeGeneratedEventArgs.cs
- ToolStripActionList.cs
- HitTestResult.cs
- EmptyStringExpandableObjectConverter.cs
- WorkflowRuntime.cs
- Opcode.cs
- ResXResourceReader.cs
- PassportAuthenticationEventArgs.cs
- ProcessModelSection.cs
- TextReturnReader.cs
- DtdParser.cs
- DataReaderContainer.cs
- ParallelTimeline.cs
- ConditionalDesigner.cs
- StylusPointDescription.cs
- DesignTimeVisibleAttribute.cs
- StyleModeStack.cs
- TransactionBehavior.cs
- BuildProvider.cs
- processwaithandle.cs
- TemplatedEditableDesignerRegion.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- SiteMapPath.cs
- PerformanceCounterPermissionAttribute.cs
- DeclaredTypeElementCollection.cs
- RowParagraph.cs
- XmlAutoDetectWriter.cs
- CustomActivityDesigner.cs
- UnsafeNativeMethods.cs
- SqlBuilder.cs
- FontFamily.cs
- NumericUpDownAccelerationCollection.cs
- SrgsElement.cs
- MessageQueuePermission.cs
- AutomationIdentifier.cs
- ConfigXmlElement.cs
- Site.cs
- TableItemPatternIdentifiers.cs
- MimeWriter.cs
- ConfigurationValues.cs
- DataGridViewRowConverter.cs
- InternalUserCancelledException.cs
- HttpHeaderCollection.cs
- PropertyStore.cs
- TreeView.cs
- FieldTemplateUserControl.cs
- PrintPreviewControl.cs
- DesignerActionList.cs
- Range.cs
- Certificate.cs
- figurelength.cs
- DataGridViewCellConverter.cs
- newinstructionaction.cs
- HttpWebRequest.cs
- MemberMaps.cs
- DelayedRegex.cs
- UInt64Converter.cs
- ActivityWithResultConverter.cs
- _ScatterGatherBuffers.cs
- XmlHierarchyData.cs
- CodeSnippetStatement.cs
- ListBoxAutomationPeer.cs
- EntityReference.cs
- SoapAttributeOverrides.cs
- DrawingServices.cs
- AppliesToBehaviorDecisionTable.cs
- AsyncContentLoadedEventArgs.cs
- FlowDocumentPaginator.cs
- UnmanagedHandle.cs
- RSAOAEPKeyExchangeFormatter.cs
- Polyline.cs
- BinaryObjectReader.cs
- SerializationSectionGroup.cs
- BordersPage.cs
- Errors.cs
- FixedFindEngine.cs
- SqlAggregateChecker.cs
- StaticSiteMapProvider.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- Int32AnimationBase.cs
- CacheHelper.cs
- Timeline.cs
- SmtpDigestAuthenticationModule.cs
- RegexCharClass.cs