Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / FrameworkRichTextComposition.cs / 1305600 / FrameworkRichTextComposition.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: the TextComposition class // // History: // 11/02/2004 : yutakas created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Input; namespace System.Windows.Documents { ////// the Composition class provides input-text/composition event promotion /// public sealed class FrameworkRichTextComposition : FrameworkTextComposition { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal FrameworkRichTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, owner) { } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- ////// The strat position of the result text of the text input. /// public TextPointer ResultStart { get { return _ResultStart == null ? null : (TextPointer)_ResultStart.GetFrozenPointer(LogicalDirection.Backward); } } ////// The end position of the result text of the text input. /// public TextPointer ResultEnd { get { return _ResultEnd == null ? null : (TextPointer)_ResultEnd.GetFrozenPointer(LogicalDirection.Forward); } } ////// The start position of the current composition text. /// public TextPointer CompositionStart { get { return _CompositionStart == null ? null : (TextPointer)_CompositionStart.GetFrozenPointer(LogicalDirection.Backward); } } ////// The start position of the current composition text. /// public TextPointer CompositionEnd { get { return _CompositionEnd == null ? null : (TextPointer)_CompositionEnd.GetFrozenPointer(LogicalDirection.Forward); } } } } // 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
- CounterCreationDataCollection.cs
- PieceNameHelper.cs
- NavigationPropertyEmitter.cs
- DbConnectionPool.cs
- CodeNamespaceImport.cs
- SocketException.cs
- SkewTransform.cs
- LineVisual.cs
- RegexNode.cs
- CodeExporter.cs
- Peer.cs
- MessageUtil.cs
- FieldAccessException.cs
- IPGlobalProperties.cs
- WindowsListView.cs
- PlacementWorkspace.cs
- ReservationCollection.cs
- HtmlEncodedRawTextWriter.cs
- OutputCacheProviderCollection.cs
- COM2ExtendedBrowsingHandler.cs
- ThreadStateException.cs
- XdrBuilder.cs
- CodeDirectoryCompiler.cs
- RSAPKCS1SignatureDeformatter.cs
- ConfigXmlCDataSection.cs
- XmlSchemaInferenceException.cs
- ConfigurationValue.cs
- BitmapData.cs
- CompressedStack.cs
- BitmapMetadata.cs
- TransactedReceiveScope.cs
- TypeListConverter.cs
- DocumentViewer.cs
- StringFormat.cs
- SqlClientMetaDataCollectionNames.cs
- PlatformCulture.cs
- XmlILStorageConverter.cs
- SmtpCommands.cs
- DesignerResources.cs
- ActionItem.cs
- QfeChecker.cs
- BlurBitmapEffect.cs
- InsufficientMemoryException.cs
- WaitForChangedResult.cs
- WpfWebRequestHelper.cs
- ActionMismatchAddressingException.cs
- InstanceLockQueryResult.cs
- TypeSystem.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- FormDesigner.cs
- LinearGradientBrush.cs
- WorkflowMarkupSerializer.cs
- EndPoint.cs
- XmlSchemaGroup.cs
- cache.cs
- RulePatternOps.cs
- AssociationProvider.cs
- SqlDataSourceSelectingEventArgs.cs
- Panel.cs
- TagMapInfo.cs
- SplineKeyFrames.cs
- PingReply.cs
- Nullable.cs
- EventProviderWriter.cs
- BatchWriter.cs
- HyperLink.cs
- DependencyPropertyValueSerializer.cs
- NamespaceDecl.cs
- OneOfScalarConst.cs
- Int32Animation.cs
- XmlTextAttribute.cs
- EventLogException.cs
- TextBoxBase.cs
- HtmlMobileTextWriter.cs
- PropertyInformationCollection.cs
- WindowsGraphicsCacheManager.cs
- DoubleLinkListEnumerator.cs
- TextSimpleMarkerProperties.cs
- SqlWebEventProvider.cs
- XmlDataSourceDesigner.cs
- OracleNumber.cs
- Latin1Encoding.cs
- TimelineCollection.cs
- NamespaceDecl.cs
- FieldMetadata.cs
- SoapTypeAttribute.cs
- EraserBehavior.cs
- SessionState.cs
- ResourceWriter.cs
- HelpProvider.cs
- isolationinterop.cs
- CompilationSection.cs
- Control.cs
- TableCellsCollectionEditor.cs
- DetailsViewInsertEventArgs.cs
- CngProperty.cs
- _Connection.cs
- MDIWindowDialog.cs
- HttpContext.cs
- SpnEndpointIdentity.cs