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
- X509Certificate2Collection.cs
- ImmComposition.cs
- ContentElementAutomationPeer.cs
- DiagnosticsConfiguration.cs
- PathSegment.cs
- SymLanguageVendor.cs
- Message.cs
- CodeValidator.cs
- MailHeaderInfo.cs
- ComponentFactoryHelpers.cs
- TCPClient.cs
- XamlTypeMapper.cs
- EventData.cs
- LayoutExceptionEventArgs.cs
- webeventbuffer.cs
- ArrangedElement.cs
- dataobject.cs
- RadioButtonRenderer.cs
- TextSpanModifier.cs
- AssemblyResourceLoader.cs
- SiteMapPath.cs
- XmlSubtreeReader.cs
- UDPClient.cs
- GridProviderWrapper.cs
- DataGridViewLinkColumn.cs
- CheckBoxStandardAdapter.cs
- BrowserDefinition.cs
- TextElementCollection.cs
- NavigationPropertyAccessor.cs
- ProcessExitedException.cs
- SqlDataSourceDesigner.cs
- TdsEnums.cs
- IdentifierCollection.cs
- XmlSerializationWriter.cs
- WebControlsSection.cs
- StructuralType.cs
- BCLDebug.cs
- FactoryRecord.cs
- WebPartConnectionsCancelEventArgs.cs
- IntSecurity.cs
- Random.cs
- FileChangeNotifier.cs
- WindowsTitleBar.cs
- XmlAttributes.cs
- LogReservationCollection.cs
- MergeEnumerator.cs
- ActivityScheduledQuery.cs
- ColorTranslator.cs
- EntityPropertyMappingAttribute.cs
- ScriptReferenceBase.cs
- XmlArrayItemAttributes.cs
- WeakReferenceKey.cs
- VectorValueSerializer.cs
- Utility.cs
- SqlInternalConnection.cs
- ObjectTag.cs
- HelpProvider.cs
- ElementsClipboardData.cs
- ProviderBase.cs
- SmtpFailedRecipientException.cs
- PropertyChangingEventArgs.cs
- HtmlElement.cs
- XmlTextEncoder.cs
- SqlRemoveConstantOrderBy.cs
- SystemWebSectionGroup.cs
- ValidatingReaderNodeData.cs
- NavigationFailedEventArgs.cs
- CreateUserWizardAutoFormat.cs
- OpCopier.cs
- ThaiBuddhistCalendar.cs
- HtmlDocument.cs
- AuthenticationModulesSection.cs
- ExecutorLocksHeldException.cs
- ErrorView.xaml.cs
- KoreanCalendar.cs
- FlowPosition.cs
- Utility.cs
- basecomparevalidator.cs
- HashMembershipCondition.cs
- XmlObjectSerializerReadContextComplex.cs
- ConnectionManagementElement.cs
- SmtpException.cs
- MemberDomainMap.cs
- ServiceDurableInstanceContextProvider.cs
- WebPartCloseVerb.cs
- DesignerAttribute.cs
- EventProviderWriter.cs
- CurrencyManager.cs
- LogRestartAreaEnumerator.cs
- ProcessStartInfo.cs
- BCLDebug.cs
- BitmapEffectDrawingContextWalker.cs
- hresults.cs
- TypeGeneratedEventArgs.cs
- TraceListener.cs
- SafeThemeHandle.cs
- DependencyObject.cs
- CompoundFileDeflateTransform.cs
- MailAddress.cs
- CellTreeSimplifier.cs