Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DelegateSerializationHolder.cs
- LocalTransaction.cs
- mongolianshape.cs
- SourceInterpreter.cs
- DataGridViewColumnTypePicker.cs
- ProgressPage.cs
- WizardDesigner.cs
- SiteOfOriginPart.cs
- FilterableData.cs
- TranslateTransform3D.cs
- ProjectionRewriter.cs
- XmlReturnWriter.cs
- ResourceManager.cs
- HTMLTextWriter.cs
- SiteMapPath.cs
- EndpointAddressProcessor.cs
- ApplyImportsAction.cs
- TypeSystemProvider.cs
- xml.cs
- SQLBoolean.cs
- Formatter.cs
- FormatException.cs
- ImageAnimator.cs
- StylusPointPropertyUnit.cs
- StatementContext.cs
- Unit.cs
- TreeNodeBinding.cs
- WebConfigurationHost.cs
- Margins.cs
- PerspectiveCamera.cs
- HMAC.cs
- AncestorChangedEventArgs.cs
- EventProvider.cs
- ListenerChannelContext.cs
- MailAddress.cs
- DEREncoding.cs
- XhtmlBasicPageAdapter.cs
- EntityTypeBase.cs
- ApplicationServicesHostFactory.cs
- COMException.cs
- SystemShuttingDownException.cs
- ManagementOperationWatcher.cs
- TextStore.cs
- SrgsNameValueTag.cs
- Separator.cs
- ExpressionTable.cs
- _OverlappedAsyncResult.cs
- GenericWebPart.cs
- PrintDialogException.cs
- SizeAnimationUsingKeyFrames.cs
- ApplicationId.cs
- ListItemsCollectionEditor.cs
- SessionSwitchEventArgs.cs
- HighlightOverlayGlyph.cs
- ParallelTimeline.cs
- Viewport3DVisual.cs
- Dispatcher.cs
- WebPartChrome.cs
- SystemWebSectionGroup.cs
- DataSourceControl.cs
- HttpStreamMessageEncoderFactory.cs
- SpellerInterop.cs
- LinqDataSource.cs
- DecoderFallbackWithFailureFlag.cs
- WebServiceParameterData.cs
- WeakReferenceEnumerator.cs
- SerializableAttribute.cs
- bindurihelper.cs
- X509CertificateInitiatorServiceCredential.cs
- HttpResponseHeader.cs
- XmlAttributeCache.cs
- FixUpCollection.cs
- InvokeMethodDesigner.xaml.cs
- TranslateTransform3D.cs
- HelpKeywordAttribute.cs
- SrgsItemList.cs
- ParamArrayAttribute.cs
- x509utils.cs
- TdsEnums.cs
- FragmentQueryProcessor.cs
- XmlExceptionHelper.cs
- CodePageUtils.cs
- GroupItem.cs
- RegexInterpreter.cs
- ViewEvent.cs
- NamespaceDecl.cs
- NotifyParentPropertyAttribute.cs
- MD5CryptoServiceProvider.cs
- Transform3D.cs
- TypedRowGenerator.cs
- Literal.cs
- DirectionalLight.cs
- InterleavedZipPartStream.cs
- SoapSchemaMember.cs
- DragCompletedEventArgs.cs
- SQLBinaryStorage.cs
- pingexception.cs
- DataGridPagerStyle.cs
- XsltLoader.cs
- OrderedParallelQuery.cs