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
- EntitySqlException.cs
- HtmlTableCellCollection.cs
- InstanceCompleteException.cs
- ByteArrayHelperWithString.cs
- PageCache.cs
- AuthenticationModulesSection.cs
- RightsManagementEncryptionTransform.cs
- PackageRelationshipCollection.cs
- SchemaImporterExtension.cs
- MessageQueuePermissionEntryCollection.cs
- HybridObjectCache.cs
- LateBoundBitmapDecoder.cs
- LabelAutomationPeer.cs
- XmlBoundElement.cs
- PackageDigitalSignature.cs
- CountdownEvent.cs
- SqlBuilder.cs
- GeometryValueSerializer.cs
- WindowsPen.cs
- QueryStringParameter.cs
- LoopExpression.cs
- IisTraceListener.cs
- EditorBrowsableAttribute.cs
- SignatureGenerator.cs
- VoiceObjectToken.cs
- Wizard.cs
- RequestBringIntoViewEventArgs.cs
- DesignerActionVerbItem.cs
- SqlNodeTypeOperators.cs
- XmlSignatureManifest.cs
- FixedSchema.cs
- BooleanToVisibilityConverter.cs
- PerspectiveCamera.cs
- TextSelection.cs
- DataGridTableCollection.cs
- TextBoxBase.cs
- SQLBytes.cs
- CompleteWizardStep.cs
- PhonemeEventArgs.cs
- SelectionProcessor.cs
- UInt32Converter.cs
- EnterpriseServicesHelper.cs
- Int32RectConverter.cs
- NamespaceQuery.cs
- BrowserDefinitionCollection.cs
- SqlServer2KCompatibilityCheck.cs
- Compilation.cs
- NetTcpSecurity.cs
- HtmlSelect.cs
- MimeObjectFactory.cs
- Control.cs
- CookieProtection.cs
- ProjectionPruner.cs
- KeyValuePairs.cs
- DocumentOrderQuery.cs
- DataTemplateKey.cs
- AutomationPeer.cs
- ParseHttpDate.cs
- Int16AnimationBase.cs
- ScopeElementCollection.cs
- ConfigXmlDocument.cs
- CommonRemoteMemoryBlock.cs
- AssemblySettingAttributes.cs
- TemplatePagerField.cs
- TextEditorCharacters.cs
- BamlRecordReader.cs
- ConnectionsZone.cs
- FormParameter.cs
- UnauthorizedWebPart.cs
- StringDictionaryCodeDomSerializer.cs
- SqlUnionizer.cs
- ControlBuilderAttribute.cs
- ParallelTimeline.cs
- DetailsViewCommandEventArgs.cs
- XmlMemberMapping.cs
- NamedPermissionSet.cs
- DisplayMemberTemplateSelector.cs
- CounterSampleCalculator.cs
- WinEventHandler.cs
- SmtpDateTime.cs
- SplashScreenNativeMethods.cs
- DiscreteKeyFrames.cs
- WebProxyScriptElement.cs
- WrapPanel.cs
- VisualTreeHelper.cs
- DoubleCollection.cs
- Odbc32.cs
- PropertyTabChangedEvent.cs
- PriorityBinding.cs
- CollectionBase.cs
- WindowsFormsHost.cs
- TagPrefixAttribute.cs
- FullTextState.cs
- BaseAutoFormat.cs
- CodeCastExpression.cs
- DefaultTraceListener.cs
- MappingItemCollection.cs
- FunctionCommandText.cs
- Size3D.cs
- Rect.cs