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
- TemplateColumn.cs
- ConfigurationLocation.cs
- loginstatus.cs
- OptimalTextSource.cs
- SymbolType.cs
- GeometryHitTestResult.cs
- DbParameterCollectionHelper.cs
- X509SecurityTokenProvider.cs
- RawMouseInputReport.cs
- WebBodyFormatMessageProperty.cs
- ImageAnimator.cs
- CodeDomConfigurationHandler.cs
- ColorAnimation.cs
- HtmlForm.cs
- ObjectDataProvider.cs
- _NtlmClient.cs
- EpmSyndicationContentDeSerializer.cs
- IBuiltInEvidence.cs
- TemplateEditingService.cs
- Bidi.cs
- XmlDataDocument.cs
- UndoManager.cs
- KeyValueConfigurationElement.cs
- StartFileNameEditor.cs
- RuleConditionDialog.Designer.cs
- VectorCollectionValueSerializer.cs
- BindingWorker.cs
- CodeTypeReferenceCollection.cs
- Themes.cs
- CssClassPropertyAttribute.cs
- CacheRequest.cs
- ResXBuildProvider.cs
- HttpCacheVaryByContentEncodings.cs
- UrlAuthFailedErrorFormatter.cs
- SoapSchemaMember.cs
- SoapExtension.cs
- OptionalColumn.cs
- MimeFormReflector.cs
- DependencyStoreSurrogate.cs
- EmptyImpersonationContext.cs
- XmlTextWriter.cs
- XPathQueryGenerator.cs
- StartUpEventArgs.cs
- XmlChildNodes.cs
- WorkflowMarkupElementEventArgs.cs
- FormViewCommandEventArgs.cs
- SecurityIdentifierElement.cs
- LayoutExceptionEventArgs.cs
- ContentDisposition.cs
- DrawItemEvent.cs
- StylusPointPropertyUnit.cs
- recordstatefactory.cs
- BrowserDefinitionCollection.cs
- ToolStripDropDownMenu.cs
- WinFormsUtils.cs
- DBParameter.cs
- DataControlHelper.cs
- figurelengthconverter.cs
- XPathConvert.cs
- StateBag.cs
- AssemblySettingAttributes.cs
- XmlBaseReader.cs
- AnimationClockResource.cs
- QilLoop.cs
- ListViewSelectEventArgs.cs
- BaseDataList.cs
- IDReferencePropertyAttribute.cs
- RightsManagementInformation.cs
- Vector3DKeyFrameCollection.cs
- DescriptionAttribute.cs
- TcpTransportBindingElement.cs
- ThreadExceptionDialog.cs
- PageWrapper.cs
- RightNameExpirationInfoPair.cs
- ModelService.cs
- GridViewColumn.cs
- ImageUrlEditor.cs
- DataGridItemCollection.cs
- Size3DConverter.cs
- SqlDataReader.cs
- DependencyPropertyValueSerializer.cs
- XmlAggregates.cs
- Terminate.cs
- TraceContextEventArgs.cs
- RuntimeHelpers.cs
- ApplicationActivator.cs
- SecUtil.cs
- UpdateTracker.cs
- CacheVirtualItemsEvent.cs
- FaultContractAttribute.cs
- ColumnWidthChangedEvent.cs
- CombinedGeometry.cs
- CompoundFileReference.cs
- WebResponse.cs
- LongCountAggregationOperator.cs
- TransactionOptions.cs
- KeyNotFoundException.cs
- ResolveNameEventArgs.cs
- SystemUdpStatistics.cs
- DataGridViewTopRowAccessibleObject.cs