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
- peernodestatemanager.cs
- DecimalAnimationUsingKeyFrames.cs
- ReflectionHelper.cs
- XPathNodeInfoAtom.cs
- TaiwanCalendar.cs
- ViewKeyConstraint.cs
- PersonalizationState.cs
- WSHttpSecurityElement.cs
- Pool.cs
- ScopeCompiler.cs
- printdlgexmarshaler.cs
- DecoderNLS.cs
- HandlerFactoryWrapper.cs
- Brush.cs
- AtlasWeb.Designer.cs
- mil_commands.cs
- ToolStripDesignerAvailabilityAttribute.cs
- CmsUtils.cs
- TextTreeFixupNode.cs
- TextParentUndoUnit.cs
- DoubleCollectionValueSerializer.cs
- DictionaryCustomTypeDescriptor.cs
- AssemblyFilter.cs
- BitmapImage.cs
- InputReportEventArgs.cs
- LambdaCompiler.Generated.cs
- ClaimComparer.cs
- SecurityKeyEntropyMode.cs
- BorderGapMaskConverter.cs
- ObfuscationAttribute.cs
- MessageSmuggler.cs
- MissingManifestResourceException.cs
- GifBitmapEncoder.cs
- DynamicDataResources.Designer.cs
- SemaphoreSlim.cs
- ObjectViewFactory.cs
- InheritanceUI.cs
- QilStrConcat.cs
- Fonts.cs
- ConstrainedDataObject.cs
- OleDbRowUpdatedEvent.cs
- Scene3D.cs
- SessionStateSection.cs
- InstanceOwnerException.cs
- IndentTextWriter.cs
- InputGestureCollection.cs
- FormatSettings.cs
- CodeSnippetExpression.cs
- ObjectQuery.cs
- ResourceSetExpression.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- ProxyWebPartManager.cs
- AccessViolationException.cs
- LayoutDump.cs
- RC2CryptoServiceProvider.cs
- PagesChangedEventArgs.cs
- StrongNameUtility.cs
- CompilerErrorCollection.cs
- Stopwatch.cs
- FilteredSchemaElementLookUpTable.cs
- GZipStream.cs
- DataBinder.cs
- CheckBoxFlatAdapter.cs
- RightsManagementInformation.cs
- SchemaImporterExtensionElementCollection.cs
- BitmapMetadataEnumerator.cs
- MissingManifestResourceException.cs
- TextViewDesigner.cs
- BrowserCapabilitiesFactoryBase.cs
- SecurityToken.cs
- HttpDictionary.cs
- Missing.cs
- InArgumentConverter.cs
- NameValueSectionHandler.cs
- EdmItemCollection.cs
- InvokePatternIdentifiers.cs
- HeaderUtility.cs
- SmtpFailedRecipientsException.cs
- ClonableStack.cs
- QilPatternVisitor.cs
- DebugControllerThread.cs
- TreeNodeStyleCollection.cs
- ComboBox.cs
- BStrWrapper.cs
- BitmapSizeOptions.cs
- PKCS1MaskGenerationMethod.cs
- EventLogPermissionAttribute.cs
- EnumDataContract.cs
- StickyNote.cs
- FtpWebRequest.cs
- SelectionPatternIdentifiers.cs
- ProjectionRewriter.cs
- WebRequestModuleElement.cs
- DesignerListAdapter.cs
- CustomCategoryAttribute.cs
- SmiConnection.cs
- CurrentChangingEventManager.cs
- GPPOINT.cs
- ExtentCqlBlock.cs