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
- UserControlBuildProvider.cs
- InertiaTranslationBehavior.cs
- ServerIdentity.cs
- SqlNotificationRequest.cs
- RepeaterItem.cs
- GeneralTransform3DTo2DTo3D.cs
- WebScriptServiceHostFactory.cs
- SystemPens.cs
- ListViewAutomationPeer.cs
- ReliabilityContractAttribute.cs
- MapPathBasedVirtualPathProvider.cs
- WebBrowserContainer.cs
- RegistryKey.cs
- MobileSysDescriptionAttribute.cs
- MtomMessageEncoder.cs
- HandlerBase.cs
- TdsParserStateObject.cs
- GatewayIPAddressInformationCollection.cs
- DuplexClientBase.cs
- HtmlSelectionListAdapter.cs
- RelationshipFixer.cs
- RestHandlerFactory.cs
- FileDataSourceCache.cs
- SignedXml.cs
- InvalidProgramException.cs
- ActiveXSite.cs
- DataTableExtensions.cs
- InputLanguage.cs
- DocumentReferenceCollection.cs
- ISSmlParser.cs
- ItemContainerProviderWrapper.cs
- TraceSection.cs
- CodeLinePragma.cs
- WindowsListBox.cs
- HwndSubclass.cs
- ping.cs
- DocumentSequenceHighlightLayer.cs
- DaylightTime.cs
- TimeSpanConverter.cs
- DataControlImageButton.cs
- HwndTarget.cs
- ObjectStateEntry.cs
- AttachedAnnotation.cs
- DropShadowEffect.cs
- InfoCardRSACryptoProvider.cs
- WorkflowWebService.cs
- DataGridViewMethods.cs
- DataGridViewTextBoxColumn.cs
- SingleTagSectionHandler.cs
- HtmlControlPersistable.cs
- SettingsPropertyValue.cs
- NullableLongAverageAggregationOperator.cs
- IsolatedStorageFile.cs
- SystemKeyConverter.cs
- EntityDataSourceWrapper.cs
- EntryWrittenEventArgs.cs
- NumericExpr.cs
- EasingKeyFrames.cs
- NativeCppClassAttribute.cs
- ProcessProtocolHandler.cs
- NamedPipeTransportBindingElement.cs
- EdmProviderManifest.cs
- LoadedOrUnloadedOperation.cs
- UniqueID.cs
- OpenTypeLayoutCache.cs
- ConfigXmlDocument.cs
- InternalsVisibleToAttribute.cs
- MessageBox.cs
- HttpWebRequest.cs
- ResXFileRef.cs
- GenericParameterDataContract.cs
- SafeTimerHandle.cs
- SqlLiftIndependentRowExpressions.cs
- XmlSerializerFormatAttribute.cs
- ActiveDocumentEvent.cs
- EncodingInfo.cs
- WebChannelFactory.cs
- RowUpdatedEventArgs.cs
- WebPartTracker.cs
- SessionPageStatePersister.cs
- Stack.cs
- EnumerableCollectionView.cs
- ExtendedProtectionPolicyTypeConverter.cs
- HandoffBehavior.cs
- Serialization.cs
- XmlLanguageConverter.cs
- MissingFieldException.cs
- ReadOnlyCollectionBase.cs
- SystemIcons.cs
- BooleanConverter.cs
- List.cs
- NTAccount.cs
- SortFieldComparer.cs
- PartialCachingControl.cs
- ValidateNames.cs
- CultureInfoConverter.cs
- TemplateLookupAction.cs
- XPathParser.cs
- RemoteTokenFactory.cs
- MembershipValidatePasswordEventArgs.cs