Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Input / DeadCharTextComposition.cs / 1 / DeadCharTextComposition.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description: the DeadCharTextComposition class
//
// History:
// 06/14/2004 : yutakas created
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Threading;
using System.Windows;
using System.Security;
using MS.Win32;
using Microsoft.Win32; // for RegistryKey class
namespace System.Windows.Input
{
///
/// the DeadCharTextComposition class is the composition object for Dead key scequence.
///
internal sealed class DeadCharTextComposition : TextComposition
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
///
/// Critical - calls TextComposition:ctor which is critical ( as it stores InputManager).
///
[SecurityCritical]
internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice)
{
}
#endregion Constructors
//------------------------------------------------------
//
// internal Properties
//
//-----------------------------------------------------
internal bool Composed
{
get {return _composed;}
set {_composed = value;}
}
//------------------------------------------------------
//
// Private Fields
//
//------------------------------------------------------
// If this is true, the text has been composed with actual char.
private bool _composed;
}
}
// 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: the DeadCharTextComposition class
//
// History:
// 06/14/2004 : yutakas created
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Threading;
using System.Windows;
using System.Security;
using MS.Win32;
using Microsoft.Win32; // for RegistryKey class
namespace System.Windows.Input
{
///
/// the DeadCharTextComposition class is the composition object for Dead key scequence.
///
internal sealed class DeadCharTextComposition : TextComposition
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
///
/// Critical - calls TextComposition:ctor which is critical ( as it stores InputManager).
///
[SecurityCritical]
internal DeadCharTextComposition(InputManager inputManager, IInputElement source, string text, TextCompositionAutoComplete autoComplete, InputDevice inputDevice) : base(inputManager, source, text, autoComplete, inputDevice)
{
}
#endregion Constructors
//------------------------------------------------------
//
// internal Properties
//
//-----------------------------------------------------
internal bool Composed
{
get {return _composed;}
set {_composed = value;}
}
//------------------------------------------------------
//
// Private Fields
//
//------------------------------------------------------
// If this is true, the text has been composed with actual char.
private bool _composed;
}
}
// 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
- Vector3DCollectionConverter.cs
- SmiEventStream.cs
- ThousandthOfEmRealPoints.cs
- CompilationPass2TaskInternal.cs
- PackageDigitalSignature.cs
- XPathPatternBuilder.cs
- DocumentGrid.cs
- AssociationTypeEmitter.cs
- SafeNativeMethodsMilCoreApi.cs
- WrappedKeySecurityTokenParameters.cs
- ExclusiveCanonicalizationTransform.cs
- TabRenderer.cs
- WebPartTransformer.cs
- GregorianCalendarHelper.cs
- SafeLibraryHandle.cs
- ReadOnlyNameValueCollection.cs
- DataSourceSelectArguments.cs
- WebPartZoneBase.cs
- SmiRecordBuffer.cs
- ExtractedStateEntry.cs
- FileAuthorizationModule.cs
- XMLSyntaxException.cs
- DataViewListener.cs
- SmtpLoginAuthenticationModule.cs
- SafeThreadHandle.cs
- JsonDeserializer.cs
- DictationGrammar.cs
- QEncodedStream.cs
- XmlAttribute.cs
- CharacterMetricsDictionary.cs
- XomlCompiler.cs
- IndexedGlyphRun.cs
- ConfigXmlSignificantWhitespace.cs
- MultiBinding.cs
- PathGeometry.cs
- PeerPresenceInfo.cs
- XmlValueConverter.cs
- FormViewUpdatedEventArgs.cs
- PasswordTextNavigator.cs
- BoundsDrawingContextWalker.cs
- WrappedIUnknown.cs
- XmlSchemaException.cs
- DSACryptoServiceProvider.cs
- DiagnosticsConfigurationHandler.cs
- LoginCancelEventArgs.cs
- SecureStringHasher.cs
- RegexWriter.cs
- WebRequest.cs
- PolyQuadraticBezierSegment.cs
- BaseServiceProvider.cs
- FormsAuthenticationUserCollection.cs
- EdmComplexTypeAttribute.cs
- SecurityTimestamp.cs
- ProtocolsConfigurationEntry.cs
- BuildResultCache.cs
- DataGridViewTopRowAccessibleObject.cs
- IsolatedStorage.cs
- MethodBuilder.cs
- HttpRequest.cs
- Dump.cs
- MobileUserControlDesigner.cs
- TableRowCollection.cs
- ModelServiceImpl.cs
- OpenFileDialog.cs
- XmlMapping.cs
- SuppressedPackageProperties.cs
- RpcAsyncResult.cs
- SQLDoubleStorage.cs
- MembershipSection.cs
- SymbolPair.cs
- WebBrowserProgressChangedEventHandler.cs
- XmlBufferedByteStreamReader.cs
- EditableLabelControl.cs
- MinMaxParagraphWidth.cs
- StorageEndPropertyMapping.cs
- Inline.cs
- WebPartConnectionsCancelVerb.cs
- DataGridCaption.cs
- Registry.cs
- SimpleBitVector32.cs
- HelloOperationAsyncResult.cs
- Html32TextWriter.cs
- isolationinterop.cs
- UnsafeNetInfoNativeMethods.cs
- SiteMapNode.cs
- PropertyChangingEventArgs.cs
- RelationshipFixer.cs
- BooleanFunctions.cs
- AccessText.cs
- XmlWrappingReader.cs
- WindowHideOrCloseTracker.cs
- Invariant.cs
- ObjectAnimationBase.cs
- MatrixCamera.cs
- SystemSounds.cs
- WorkflowDataContext.cs
- ObjectQuery.cs
- CellTreeNode.cs
- QilReplaceVisitor.cs
- DecoderNLS.cs