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
- InstanceLockQueryResult.cs
- RsaSecurityTokenAuthenticator.cs
- Wildcard.cs
- UniqueConstraint.cs
- WebPartConnectionsDisconnectVerb.cs
- DataControlFieldCell.cs
- PropVariant.cs
- TextTreeObjectNode.cs
- SchemaNotation.cs
- elementinformation.cs
- AssemblyResourceLoader.cs
- EntityDataSourceSelectedEventArgs.cs
- SecurityHelper.cs
- Image.cs
- BuildManagerHost.cs
- DataTableTypeConverter.cs
- SmiXetterAccessMap.cs
- MonitoringDescriptionAttribute.cs
- SystemFonts.cs
- CustomTrackingRecord.cs
- EventRoute.cs
- LoginView.cs
- ReadonlyMessageFilter.cs
- MasterPageCodeDomTreeGenerator.cs
- StorageConditionPropertyMapping.cs
- FixedSOMGroup.cs
- TypedTableBaseExtensions.cs
- securitycriticaldataClass.cs
- OracleLob.cs
- DatagridviewDisplayedBandsData.cs
- DynamicQueryableWrapper.cs
- Environment.cs
- BasicCellRelation.cs
- X509Extension.cs
- ReadOnlyMetadataCollection.cs
- ResourceDisplayNameAttribute.cs
- MatrixValueSerializer.cs
- XmlComplianceUtil.cs
- ObjectFullSpanRewriter.cs
- TextRangeEditTables.cs
- ObjectHelper.cs
- PolicyLevel.cs
- DatatypeImplementation.cs
- TimeSpan.cs
- FileLevelControlBuilderAttribute.cs
- SamlAuthorityBinding.cs
- ScriptDescriptor.cs
- ApplicationBuildProvider.cs
- ArglessEventHandlerProxy.cs
- Console.cs
- PrintingPermission.cs
- LinqDataSourceInsertEventArgs.cs
- StylusPointProperties.cs
- DataGridCell.cs
- Image.cs
- DesignTimeValidationFeature.cs
- Animatable.cs
- RegexParser.cs
- WinCategoryAttribute.cs
- SmiConnection.cs
- CombinedGeometry.cs
- SqlInfoMessageEvent.cs
- _LazyAsyncResult.cs
- DocumentSchemaValidator.cs
- XmlHierarchicalDataSourceView.cs
- XmlUtil.cs
- HttpConfigurationContext.cs
- TransactionalPackage.cs
- EventLogEntry.cs
- DataGridState.cs
- DataGridTablesFactory.cs
- _Connection.cs
- SqlServices.cs
- CodeDirectiveCollection.cs
- _NestedSingleAsyncResult.cs
- SystemIPGlobalProperties.cs
- WindowsToolbarAsMenu.cs
- BuildManager.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DomainConstraint.cs
- XmlBindingWorker.cs
- MenuItemAutomationPeer.cs
- FileEnumerator.cs
- UnsafeNativeMethods.cs
- WebPartDescription.cs
- mactripleDES.cs
- ToolConsole.cs
- PinnedBufferMemoryStream.cs
- SchemaConstraints.cs
- CriticalFinalizerObject.cs
- ColorContext.cs
- DataTemplateSelector.cs
- ContainerParagraph.cs
- NamedPipeTransportManager.cs
- PageAction.cs
- ArithmeticException.cs
- QuaternionAnimation.cs
- OperationAbortedException.cs
- TextRangeEdit.cs
- ThrowHelper.cs