Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Attributes.cs
- MetadataItem.cs
- RadioButton.cs
- SafeHandle.cs
- SqlConnectionManager.cs
- TransformerInfoCollection.cs
- XmlWriterSettings.cs
- XamlNamespaceHelper.cs
- OleDbInfoMessageEvent.cs
- XamlFxTrace.cs
- SequentialOutput.cs
- Clipboard.cs
- StrongTypingException.cs
- Pointer.cs
- CommonDialog.cs
- oledbconnectionstring.cs
- XPathPatternBuilder.cs
- IProvider.cs
- DotExpr.cs
- CodeArgumentReferenceExpression.cs
- SQLInt32.cs
- DeferredReference.cs
- IDReferencePropertyAttribute.cs
- NativeMethods.cs
- ResolveNameEventArgs.cs
- StorageInfo.cs
- IRCollection.cs
- HierarchicalDataSourceDesigner.cs
- DragStartedEventArgs.cs
- securitycriticaldata.cs
- HttpCacheVaryByContentEncodings.cs
- ErrorActivity.cs
- FactoryMaker.cs
- XmlReturnWriter.cs
- SqlMethodTransformer.cs
- CheckBoxAutomationPeer.cs
- TypeGenericEnumerableViewSchema.cs
- PageScaling.cs
- HttpListenerPrefixCollection.cs
- ReadOnlyKeyedCollection.cs
- ConfigDefinitionUpdates.cs
- Stack.cs
- FlowLayoutSettings.cs
- RequestTimeoutManager.cs
- SynchronousSendBindingElement.cs
- TextEvent.cs
- _LazyAsyncResult.cs
- PolyBezierSegment.cs
- Point3DCollection.cs
- PerfCounterSection.cs
- AnnotationResource.cs
- Privilege.cs
- XmlSchemaValidationException.cs
- WindowsToolbarItemAsMenuItem.cs
- MultipartContentParser.cs
- SimpleType.cs
- BackStopAuthenticationModule.cs
- Vector3DKeyFrameCollection.cs
- NamespaceImport.cs
- TypeGeneratedEventArgs.cs
- CryptoConfig.cs
- PackageStore.cs
- TreeViewAutomationPeer.cs
- SqlParameter.cs
- TextFormatterContext.cs
- CategoryAttribute.cs
- BitmapData.cs
- SafeRightsManagementHandle.cs
- _IPv6Address.cs
- StringAnimationBase.cs
- Button.cs
- IdentityManager.cs
- ShaderEffect.cs
- ActivityMarkupSerializer.cs
- CodePageEncoding.cs
- PresentationTraceSources.cs
- TextEmbeddedObject.cs
- WebScriptMetadataMessage.cs
- ChameleonKey.cs
- WebDisplayNameAttribute.cs
- EndOfStreamException.cs
- XPathParser.cs
- AlphaSortedEnumConverter.cs
- SqlDataSourceCustomCommandEditor.cs
- EntityContainerEmitter.cs
- IndentedWriter.cs
- Stream.cs
- TrimSurroundingWhitespaceAttribute.cs
- LicFileLicenseProvider.cs
- FileAuthorizationModule.cs
- TextTreeInsertUndoUnit.cs
- Vars.cs
- HostedAspNetEnvironment.cs
- PointAnimationBase.cs
- util.cs
- BezierSegment.cs
- DataPagerField.cs
- BaseTreeIterator.cs
- MatcherBuilder.cs
- SQLMoneyStorage.cs