Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / InputMethodStateChangeEventArgs.cs / 1 / InputMethodStateChangeEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Manage Input Method. // // History: // 07/30/2003 : [....] - 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
- Panel.cs
- jithelpers.cs
- ProviderConnectionPoint.cs
- LocatorBase.cs
- SoapServerProtocol.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Expressions.cs
- ListControlConvertEventArgs.cs
- XamlToRtfWriter.cs
- WebPartCancelEventArgs.cs
- TemplatePropertyEntry.cs
- Restrictions.cs
- UIElement.cs
- SafeSecurityHandles.cs
- BridgeDataReader.cs
- XamlPointCollectionSerializer.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- Track.cs
- WebPartConnectionsCloseVerb.cs
- nulltextcontainer.cs
- FormViewInsertedEventArgs.cs
- GenericPrincipal.cs
- Mapping.cs
- AsyncResult.cs
- DataExchangeServiceBinder.cs
- AssemblyGen.cs
- CultureSpecificCharacterBufferRange.cs
- ConstraintStruct.cs
- VirtualPathUtility.cs
- SqlUnionizer.cs
- SelectedDatesCollection.cs
- StructuredProperty.cs
- DataSourceXmlTextReader.cs
- LinkUtilities.cs
- ParserStreamGeometryContext.cs
- DictionaryTraceRecord.cs
- SessionState.cs
- SubclassTypeValidatorAttribute.cs
- SqlDependencyListener.cs
- DocumentSequence.cs
- DependencyPropertyChangedEventArgs.cs
- FontNamesConverter.cs
- WebPartEventArgs.cs
- DeobfuscatingStream.cs
- DocumentPageTextView.cs
- ContentHostHelper.cs
- MimeTypeAttribute.cs
- SourceInterpreter.cs
- Int32RectConverter.cs
- XmlAnyAttributeAttribute.cs
- grammarelement.cs
- ScaleTransform3D.cs
- ConnectionConsumerAttribute.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- CriticalHandle.cs
- Barrier.cs
- Filter.cs
- WindowsPrincipal.cs
- XPathNavigator.cs
- SamlAction.cs
- GridViewDeletedEventArgs.cs
- ArrayList.cs
- PointCollectionConverter.cs
- BamlLocalizer.cs
- ComponentTray.cs
- MembershipValidatePasswordEventArgs.cs
- SqlIdentifier.cs
- BitmapScalingModeValidation.cs
- InputElement.cs
- SchemeSettingElementCollection.cs
- Utilities.cs
- SortQueryOperator.cs
- ButtonColumn.cs
- Keywords.cs
- GeometryModel3D.cs
- DiffuseMaterial.cs
- Bits.cs
- XmlSchemaSimpleTypeUnion.cs
- FilteredSchemaElementLookUpTable.cs
- ContextStaticAttribute.cs
- FontUnit.cs
- HeaderedItemsControl.cs
- PersianCalendar.cs
- ExpressionBinding.cs
- TransactionFlowBindingElement.cs
- DataSourceCache.cs
- EdmMember.cs
- SRGSCompiler.cs
- WorkflowHostingEndpoint.cs
- ChtmlTextWriter.cs
- TabItemAutomationPeer.cs
- ListViewUpdateEventArgs.cs
- SmiSettersStream.cs
- ListBoxItemAutomationPeer.cs
- TextDecorationUnitValidation.cs
- MultipartIdentifier.cs
- HitTestFilterBehavior.cs
- IssuanceLicense.cs
- FormsAuthenticationTicket.cs
- SelectionHighlightInfo.cs