Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / InputMethodStateChangeEventArgs.cs / 1305600 / InputMethodStateChangeEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Manage Input Method. // // History: // 07/30/2003 : yutakas - Ported from .net tree. // //--------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Collections; using System.Diagnostics; using System.Globalization; using System.Security.Permissions; using System.Windows.Threading; using System.Windows; using MS.Internal; //TextServicesInterop using MS.Utility; using MS.Win32; namespace System.Windows.Input { //----------------------------------------------------- // // InputMethodStateChjangedEventArgs class // //----------------------------------------------------- ////// This InputMethodStateChangedEventArgs class is /// public class InputMethodStateChangedEventArgs : EventArgs { //------------------------------------------------------ // // Constructors // //----------------------------------------------------- internal InputMethodStateChangedEventArgs(InputMethodStateType statetype) { _statetype = statetype; } //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ ////// IME (open/close) state is changed. /// public bool IsImeStateChanged { get { return (_statetype == InputMethodStateType.ImeState); } } ////// Microphone state is changed. /// public bool IsMicrophoneStateChanged { get { return (_statetype == InputMethodStateType.MicrophoneState); } } ////// Handwriting state is changed. /// public bool IsHandwritingStateChanged { get { return (_statetype == InputMethodStateType.HandwritingState); } } ////// SpeechMode state is changed. /// public bool IsSpeechModeChanged { get { return (_statetype == InputMethodStateType.SpeechMode); } } ////// ImeConversionMode state is changed. /// public bool IsImeConversionModeChanged { get { return (_statetype == InputMethodStateType.ImeConversionModeValues); } } ////// ImeSentenceMode state is changed. /// public bool IsImeSentenceModeChanged { get { return (_statetype == InputMethodStateType.ImeSentenceModeValues); } } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ #region Private Fields private InputMethodStateType _statetype; #endregion Private Fields } } // 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
- WebPartConnectionsCancelEventArgs.cs
- DefaultTraceListener.cs
- BamlRecords.cs
- AsymmetricSecurityBindingElement.cs
- DataGridColumnHeadersPresenter.cs
- TextBoxRenderer.cs
- EmptyCollection.cs
- QueryCursorEventArgs.cs
- Sentence.cs
- TextParagraph.cs
- BooleanFunctions.cs
- SelectionEditingBehavior.cs
- Hex.cs
- TrackingMemoryStream.cs
- ConstructorBuilder.cs
- ZoomPercentageConverter.cs
- MarkupWriter.cs
- SizeChangedEventArgs.cs
- MultiBinding.cs
- RepeaterItemCollection.cs
- AnonymousIdentificationSection.cs
- ServiceContractAttribute.cs
- WebControl.cs
- ErrorEventArgs.cs
- WebBaseEventKeyComparer.cs
- ProtocolsConfigurationEntry.cs
- CompilationLock.cs
- WebPartMovingEventArgs.cs
- XmlSiteMapProvider.cs
- NegotiationTokenProvider.cs
- AbstractExpressions.cs
- FactoryGenerator.cs
- TypeKeyValue.cs
- ServiceEndpointCollection.cs
- DefaultProxySection.cs
- Query.cs
- CodeObject.cs
- Interlocked.cs
- ViewManager.cs
- OpCodes.cs
- InteropAutomationProvider.cs
- NavigationWindow.cs
- DateTimeUtil.cs
- DataGridItemAutomationPeer.cs
- LoadGrammarCompletedEventArgs.cs
- Visual3D.cs
- ZipIOLocalFileDataDescriptor.cs
- TableLayoutPanelDesigner.cs
- ProcessProtocolHandler.cs
- PlainXmlSerializer.cs
- WebPartUserCapability.cs
- AppDomainFactory.cs
- BrowserTree.cs
- IResourceProvider.cs
- InvalidComObjectException.cs
- IODescriptionAttribute.cs
- GenerateScriptTypeAttribute.cs
- OracleColumn.cs
- ObjRef.cs
- ContentHostHelper.cs
- XmlILAnnotation.cs
- oledbmetadatacollectionnames.cs
- MULTI_QI.cs
- Pen.cs
- CaseCqlBlock.cs
- Geometry.cs
- MemberJoinTreeNode.cs
- SafeArchiveContext.cs
- MemberInfoSerializationHolder.cs
- HttpApplicationFactory.cs
- SchemaDeclBase.cs
- XmlWrappingReader.cs
- BufferBuilder.cs
- ToolboxItemCollection.cs
- SoapExtensionTypeElementCollection.cs
- EraserBehavior.cs
- SqlPersistenceProviderFactory.cs
- WindowsFormsHost.cs
- _IPv6Address.cs
- DbSourceCommand.cs
- MissingMemberException.cs
- WsdlImporter.cs
- NetTcpSection.cs
- AutomationIdentifierGuids.cs
- SspiSecurityTokenProvider.cs
- ColumnWidthChangedEvent.cs
- XPathSelfQuery.cs
- HttpPostLocalhostServerProtocol.cs
- WebPartMenu.cs
- _AuthenticationState.cs
- WinEventTracker.cs
- SessionStateSection.cs
- FrugalMap.cs
- SHA384Managed.cs
- DocumentReference.cs
- RC2CryptoServiceProvider.cs
- HttpCookieCollection.cs
- FormatSettings.cs
- Visual3D.cs
- PropertyConverter.cs