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
- XamlSerializerUtil.cs
- XmlSchemaObjectCollection.cs
- BridgeDataRecord.cs
- OdbcFactory.cs
- RequestDescription.cs
- PageStatePersister.cs
- PeerTransportSecurityElement.cs
- HighContrastHelper.cs
- ConfigXmlText.cs
- PreservationFileWriter.cs
- DropDownButton.cs
- FormsAuthenticationUser.cs
- MailDefinition.cs
- LassoHelper.cs
- DropDownList.cs
- DesignerTransactionCloseEvent.cs
- GridViewSortEventArgs.cs
- GroupDescription.cs
- ApplicationInterop.cs
- SqlNodeAnnotations.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- XmlSchemaAppInfo.cs
- Logging.cs
- PropertyGrid.cs
- MexTcpBindingElement.cs
- CollectionConverter.cs
- PtsContext.cs
- DockPattern.cs
- JapaneseLunisolarCalendar.cs
- DirectionalLight.cs
- TabletDevice.cs
- WebPartManagerInternals.cs
- CollectionContainer.cs
- WindowsStatic.cs
- MemberCollection.cs
- TypeInitializationException.cs
- ValueUtilsSmi.cs
- Method.cs
- ModelTreeEnumerator.cs
- CallbackHandler.cs
- BoolLiteral.cs
- MemberDomainMap.cs
- DBNull.cs
- DPTypeDescriptorContext.cs
- FormViewRow.cs
- ExpressionBuilderContext.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- BufferedGraphicsManager.cs
- BaseTemplateBuildProvider.cs
- Pkcs7Signer.cs
- IEnumerable.cs
- lengthconverter.cs
- Vector3DValueSerializer.cs
- CustomValidator.cs
- MetafileHeader.cs
- PersonalizableAttribute.cs
- SqlCharStream.cs
- MinMaxParagraphWidth.cs
- InvalidComObjectException.cs
- ResourceAttributes.cs
- Point3D.cs
- DummyDataSource.cs
- QuaternionAnimation.cs
- TdsParserStaticMethods.cs
- ActiveXHelper.cs
- ToolStripArrowRenderEventArgs.cs
- FutureFactory.cs
- CookieProtection.cs
- IntegerCollectionEditor.cs
- ServiceOperation.cs
- SourceChangedEventArgs.cs
- AsyncPostBackTrigger.cs
- DoubleAnimationClockResource.cs
- BaseHashHelper.cs
- UIElement3D.cs
- File.cs
- NavigationCommands.cs
- ListViewSortEventArgs.cs
- ListSourceHelper.cs
- AsymmetricAlgorithm.cs
- BitArray.cs
- ObjectView.cs
- BitmapFrame.cs
- XmlAtomicValue.cs
- Rijndael.cs
- MouseActionValueSerializer.cs
- Column.cs
- ViewGenResults.cs
- TextSimpleMarkerProperties.cs
- DriveNotFoundException.cs
- WhitespaceRuleLookup.cs
- MimeMapping.cs
- XmlSchemaParticle.cs
- FormatterServices.cs
- XAMLParseException.cs
- ExtendedProtectionPolicy.cs
- RuntimeConfigLKG.cs
- DownloadProgressEventArgs.cs
- ISFTagAndGuidCache.cs
- StylusPointPropertyUnit.cs