Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / FrameworkRichTextComposition.cs / 3 / FrameworkRichTextComposition.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: the TextComposition class // // History: // 11/02/2004 : [....] 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
- ErrorFormatter.cs
- SafeEventHandle.cs
- ExtenderControl.cs
- TableCellCollection.cs
- ComboBoxRenderer.cs
- LogArchiveSnapshot.cs
- LabelLiteral.cs
- ParameterCollection.cs
- UpWmlPageAdapter.cs
- ImplicitInputBrush.cs
- StringArrayConverter.cs
- EventMappingSettings.cs
- VectorValueSerializer.cs
- XmlLanguage.cs
- CryptoApi.cs
- ReferencedAssembly.cs
- KeysConverter.cs
- WebContext.cs
- PeerTransportSecuritySettings.cs
- FixedTextView.cs
- BlurBitmapEffect.cs
- TypedElement.cs
- MimeAnyImporter.cs
- EmbeddedMailObject.cs
- NamespaceExpr.cs
- WsdlInspector.cs
- X509RawDataKeyIdentifierClause.cs
- FieldValue.cs
- FixedSOMTableCell.cs
- SqlErrorCollection.cs
- ImageCreator.cs
- Match.cs
- MissingFieldException.cs
- WindowsEditBox.cs
- FileAuthorizationModule.cs
- RequestCacheValidator.cs
- XhtmlTextWriter.cs
- MembershipPasswordException.cs
- ControlValuePropertyAttribute.cs
- SoapAttributeOverrides.cs
- EntityContainerAssociationSetEnd.cs
- XdrBuilder.cs
- Util.cs
- GroupBox.cs
- ISO2022Encoding.cs
- AspNetHostingPermission.cs
- BamlResourceContent.cs
- MergeEnumerator.cs
- JulianCalendar.cs
- TemplateControlBuildProvider.cs
- InnerItemCollectionView.cs
- ReleaseInstanceMode.cs
- RegisteredExpandoAttribute.cs
- SessionPageStatePersister.cs
- DynamicContractTypeBuilder.cs
- DataListItemCollection.cs
- InkSerializer.cs
- XmlTextEncoder.cs
- ApplicationContext.cs
- SqlDataSourceStatusEventArgs.cs
- WebZoneDesigner.cs
- HttpRequest.cs
- ComponentChangingEvent.cs
- Variant.cs
- SpellerStatusTable.cs
- TextHidden.cs
- CodeEntryPointMethod.cs
- SlipBehavior.cs
- TemplateAction.cs
- ObjectDataSourceDisposingEventArgs.cs
- AsyncPostBackTrigger.cs
- QilTernary.cs
- XMLDiffLoader.cs
- CFStream.cs
- PropertyEmitterBase.cs
- MatrixTransform.cs
- PenThreadWorker.cs
- CustomErrorCollection.cs
- BinaryMethodMessage.cs
- BasicExpandProvider.cs
- ListItemConverter.cs
- ResourceDisplayNameAttribute.cs
- HtmlTableCellCollection.cs
- TextDecoration.cs
- Delay.cs
- CngKeyBlobFormat.cs
- WebPartZoneCollection.cs
- OdbcConnectionStringbuilder.cs
- SizeAnimationClockResource.cs
- SqlUDTStorage.cs
- EntityDataSourceView.cs
- TextEditorCharacters.cs
- GridViewSortEventArgs.cs
- CurrentChangedEventManager.cs
- ByteRangeDownloader.cs
- ColorConvertedBitmap.cs
- HandoffBehavior.cs
- Ref.cs
- StringArrayEditor.cs
- ProfileBuildProvider.cs