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
- HeaderedContentControl.cs
- RemoteX509AsymmetricSecurityKey.cs
- StrongNameIdentityPermission.cs
- RuntimeDelegateArgument.cs
- BaseUriWithWildcard.cs
- InteropEnvironment.cs
- HitTestWithPointDrawingContextWalker.cs
- _SslStream.cs
- HostingEnvironmentException.cs
- ThemeableAttribute.cs
- MaskDescriptors.cs
- TriggerBase.cs
- SoundPlayerAction.cs
- QilReplaceVisitor.cs
- TypeResolver.cs
- LongAverageAggregationOperator.cs
- NodeFunctions.cs
- CacheMode.cs
- Attributes.cs
- TextDpi.cs
- BuildProviderUtils.cs
- SqlNotificationEventArgs.cs
- QuaternionConverter.cs
- ConfigXmlAttribute.cs
- VisualStyleElement.cs
- SchemaSetCompiler.cs
- CodeRegionDirective.cs
- BulletedListEventArgs.cs
- ProcessModelSection.cs
- ValueHandle.cs
- DataRelation.cs
- Matrix3DValueSerializer.cs
- TraceUtils.cs
- CheckBoxList.cs
- ObjectTokenCategory.cs
- ErrorWebPart.cs
- ZipIOExtraField.cs
- ShellProvider.cs
- WorkflowServiceAttributes.cs
- SqlTriggerAttribute.cs
- LocalIdKeyIdentifierClause.cs
- SubstitutionList.cs
- Validator.cs
- VersionPair.cs
- HttpPostClientProtocol.cs
- HttpApplication.cs
- EDesignUtil.cs
- DataGridViewSortCompareEventArgs.cs
- ToolStripButton.cs
- CodeLinePragma.cs
- BinaryFormatter.cs
- SoapAttributeOverrides.cs
- CacheDependency.cs
- ArrayTypeMismatchException.cs
- CompletedAsyncResult.cs
- DataSourceDescriptorCollection.cs
- Duration.cs
- RangeContentEnumerator.cs
- NodeFunctions.cs
- ObjectAssociationEndMapping.cs
- WeakEventManager.cs
- DirtyTextRange.cs
- NullableDecimalAverageAggregationOperator.cs
- SynchronizationLockException.cs
- Setter.cs
- FileDialog_Vista.cs
- TextEncodedRawTextWriter.cs
- BaseHashHelper.cs
- PixelShader.cs
- CompilationUnit.cs
- GridViewColumnCollection.cs
- IPPacketInformation.cs
- ControlPropertyNameConverter.cs
- IDispatchConstantAttribute.cs
- CompositeScriptReference.cs
- ParseElement.cs
- Identifier.cs
- TargetControlTypeAttribute.cs
- DataContractJsonSerializerOperationFormatter.cs
- ToolStripPanelSelectionBehavior.cs
- HttpSocketManager.cs
- ModifierKeysConverter.cs
- XamlClipboardData.cs
- TemplateBindingExtension.cs
- HwndAppCommandInputProvider.cs
- Expressions.cs
- UnSafeCharBuffer.cs
- IDispatchConstantAttribute.cs
- QueueAccessMode.cs
- InvokeMethodDesigner.xaml.cs
- Substitution.cs
- SslStream.cs
- StringCollection.cs
- MultiTargetingUtil.cs
- PeerNameResolver.cs
- DataGridViewSelectedColumnCollection.cs
- ExpressionVisitor.cs
- ManifestResourceInfo.cs
- PartialCachingAttribute.cs
- FactoryMaker.cs