Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Input / InputMethodStateChangeEventArgs.cs / 1 / 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. //---------------------------------------------------------------------------- // //// 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
- FormatControl.cs
- QuestionEventArgs.cs
- AssemblyNameProxy.cs
- PenThread.cs
- DataRecordInternal.cs
- EnumBuilder.cs
- ToolStripScrollButton.cs
- ToolStripContentPanel.cs
- XmlLanguage.cs
- LogEntryHeaderv1Deserializer.cs
- LogExtent.cs
- Transform.cs
- ListSourceHelper.cs
- DependencyPropertyKind.cs
- UInt32Storage.cs
- input.cs
- HttpPostServerProtocol.cs
- JsonXmlDataContract.cs
- ColumnMap.cs
- SqlCacheDependencyDatabaseCollection.cs
- StringValidator.cs
- ToolStripOverflow.cs
- RtfToXamlLexer.cs
- HandlerElement.cs
- ImageListStreamer.cs
- CreateUserWizard.cs
- ProcessModelInfo.cs
- CopyAction.cs
- GeneralTransform3DTo2DTo3D.cs
- AppDomainCompilerProxy.cs
- SoapExtensionReflector.cs
- ImportCatalogPart.cs
- HttpStreamMessageEncoderFactory.cs
- EventHandlerList.cs
- StringExpressionSet.cs
- Package.cs
- CompModSwitches.cs
- ProfileManager.cs
- MasterPage.cs
- SystemParameters.cs
- ElementAction.cs
- OleDbSchemaGuid.cs
- log.cs
- BaseTreeIterator.cs
- TemplateControlParser.cs
- TypeUtils.cs
- ExtensionFile.cs
- MgmtConfigurationRecord.cs
- DataGridView.cs
- TraceLevelHelper.cs
- DownloadProgressEventArgs.cs
- TextOptions.cs
- MissingSatelliteAssemblyException.cs
- Win32PrintDialog.cs
- XmlTypeAttribute.cs
- TemplateControlParser.cs
- ScriptResourceInfo.cs
- Control.cs
- OverflowException.cs
- UserPreferenceChangingEventArgs.cs
- XmlTypeMapping.cs
- DataBindingCollection.cs
- SqlDataReaderSmi.cs
- ByteAnimationUsingKeyFrames.cs
- SubpageParagraph.cs
- TaskSchedulerException.cs
- FormParameter.cs
- DataGridViewCheckBoxCell.cs
- VBCodeProvider.cs
- DirectoryNotFoundException.cs
- entityreference_tresulttype.cs
- COM2PropertyDescriptor.cs
- StringToken.cs
- ImageIndexConverter.cs
- FixedTextPointer.cs
- xmlglyphRunInfo.cs
- X509SecurityTokenAuthenticator.cs
- _NegoState.cs
- MimeTypeMapper.cs
- TagElement.cs
- RuntimeArgumentHandle.cs
- PriorityQueue.cs
- SecurityBindingElementImporter.cs
- Region.cs
- x509utils.cs
- OutputCacheSection.cs
- ManagementScope.cs
- DataContractSerializerElement.cs
- DelegatedStream.cs
- DataGridViewCellStyleChangedEventArgs.cs
- EdmSchemaError.cs
- CompModHelpers.cs
- SourceInterpreter.cs
- PermissionSetTriple.cs
- Label.cs
- RuleInfoComparer.cs
- SimpleColumnProvider.cs
- ColorTransform.cs
- JsonByteArrayDataContract.cs
- CodeTypeDeclarationCollection.cs