Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / InputMethodStateChangeEventArgs.cs / 1 / InputMethodStateChangeEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Manage Input Method. // // History: // 07/30/2003 : [....] - 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
- odbcmetadatafactory.cs
- MorphHelper.cs
- DispatchChannelSink.cs
- BindingSourceDesigner.cs
- CoTaskMemHandle.cs
- LoginName.cs
- ColorDialog.cs
- IDispatchConstantAttribute.cs
- Pair.cs
- ObjectDataSourceFilteringEventArgs.cs
- SqlClientWrapperSmiStream.cs
- XsdBuildProvider.cs
- namescope.cs
- EmbeddedMailObjectsCollection.cs
- InstanceLockLostException.cs
- CDSCollectionETWBCLProvider.cs
- EndOfStreamException.cs
- EventMappingSettings.cs
- WizardForm.cs
- OpCodes.cs
- RuleSettings.cs
- ListParagraph.cs
- XappLauncher.cs
- Attributes.cs
- XmlILAnnotation.cs
- SponsorHelper.cs
- PageThemeBuildProvider.cs
- ValidationException.cs
- Int16Animation.cs
- ConnectionManagementElement.cs
- IPPacketInformation.cs
- BindingCollectionElement.cs
- Transform3DGroup.cs
- BindingNavigator.cs
- DescendentsWalker.cs
- InvalidateEvent.cs
- GridPatternIdentifiers.cs
- XmlReaderSettings.cs
- VersionPair.cs
- ToolStripItemCollection.cs
- SecurityCriticalDataForSet.cs
- SoapClientMessage.cs
- TextDataBindingHandler.cs
- TagPrefixAttribute.cs
- MimeTypeMapper.cs
- VirtualDirectoryMapping.cs
- SizeAnimationUsingKeyFrames.cs
- SystemNetHelpers.cs
- ActiveXHelper.cs
- CertificateElement.cs
- BitmapEffectvisualstate.cs
- TraceInternal.cs
- ResXFileRef.cs
- InputMethodStateChangeEventArgs.cs
- X509SecurityToken.cs
- MemberDescriptor.cs
- RequestBringIntoViewEventArgs.cs
- CodeCatchClause.cs
- PageThemeBuildProvider.cs
- MarkupWriter.cs
- MD5.cs
- EDesignUtil.cs
- GestureRecognitionResult.cs
- CodeDirectoryCompiler.cs
- DefaultBindingPropertyAttribute.cs
- Utils.cs
- SimplePropertyEntry.cs
- SQLInt64.cs
- LinqDataSourceSelectEventArgs.cs
- StorageEntitySetMapping.cs
- DataGridViewAdvancedBorderStyle.cs
- OdbcParameterCollection.cs
- WizardSideBarListControlItem.cs
- IndexOutOfRangeException.cs
- ObjectViewEntityCollectionData.cs
- ClientTargetSection.cs
- AsyncOperation.cs
- HttpDictionary.cs
- ServiceInstanceProvider.cs
- ObjectViewEntityCollectionData.cs
- EntityDataSourceState.cs
- ImageListStreamer.cs
- PrePostDescendentsWalker.cs
- DataService.cs
- OperatingSystem.cs
- PriorityQueue.cs
- UncommonField.cs
- ClientScriptManager.cs
- _AcceptOverlappedAsyncResult.cs
- DesignerVerbToolStripMenuItem.cs
- SoapConverter.cs
- ActivityBindForm.cs
- HttpListener.cs
- CmsUtils.cs
- HtmlControlPersistable.cs
- TextServicesContext.cs
- ListBindableAttribute.cs
- WebPartHelpVerb.cs
- ParameterElementCollection.cs
- UrlMapping.cs