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
- ImmutableCollection.cs
- VarRemapper.cs
- MailMessage.cs
- ContextBase.cs
- DataException.cs
- DataGridViewLinkColumn.cs
- SortQuery.cs
- ComboBoxRenderer.cs
- WindowsHyperlink.cs
- StructuredType.cs
- CacheHelper.cs
- TextDecorationCollection.cs
- ReturnType.cs
- OptimalTextSource.cs
- Errors.cs
- ReferenceService.cs
- ExpressionList.cs
- SessionIDManager.cs
- ServiceDurableInstanceContextProvider.cs
- BooleanSwitch.cs
- DescendantQuery.cs
- HttpListenerPrefixCollection.cs
- CustomAttributeBuilder.cs
- SemanticBasicElement.cs
- DescendentsWalker.cs
- SQLDateTimeStorage.cs
- PrtCap_Public_Simple.cs
- BuildProvider.cs
- CopyEncoder.cs
- UpdatePanelTriggerCollection.cs
- IPHostEntry.cs
- DbBuffer.cs
- ClientTargetSection.cs
- SubMenuStyle.cs
- PageParserFilter.cs
- Update.cs
- BooleanKeyFrameCollection.cs
- CookieParameter.cs
- PolyBezierSegment.cs
- DrawingImage.cs
- DelegatedStream.cs
- ObjectDataSourceMethodEventArgs.cs
- NameSpaceExtractor.cs
- BaseDataList.cs
- HttpListenerContext.cs
- ExceptionUtil.cs
- DataBinding.cs
- WebControlAdapter.cs
- TPLETWProvider.cs
- DataGridViewColumnTypePicker.cs
- StatusBar.cs
- PrincipalPermission.cs
- UpdateRecord.cs
- CollectionViewProxy.cs
- CapabilitiesAssignment.cs
- ListViewDeleteEventArgs.cs
- CodeSnippetExpression.cs
- ProtocolElementCollection.cs
- BindingEntityInfo.cs
- TransformPatternIdentifiers.cs
- SoapAttributeAttribute.cs
- AsymmetricSignatureFormatter.cs
- JobInputBins.cs
- RunInstallerAttribute.cs
- AuthenticationModuleElement.cs
- TypeGenericEnumerableViewSchema.cs
- DtrList.cs
- TextMarkerSource.cs
- DataListItemEventArgs.cs
- MetadataPropertyvalue.cs
- XslAstAnalyzer.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- NaturalLanguageHyphenator.cs
- XmlCDATASection.cs
- XhtmlTextWriter.cs
- DiagnosticsConfigurationHandler.cs
- Timeline.cs
- TemplateDefinition.cs
- CodeMethodInvokeExpression.cs
- VectorKeyFrameCollection.cs
- EncoderFallback.cs
- CurrentChangingEventArgs.cs
- ReaderContextStackData.cs
- ObjectParameterCollection.cs
- KnownTypesHelper.cs
- RolePrincipal.cs
- TemplateEditingVerb.cs
- CryptographicAttribute.cs
- TableLayoutColumnStyleCollection.cs
- XPathNavigator.cs
- TemplateBindingExtension.cs
- Delegate.cs
- XmlKeywords.cs
- XmlBinaryReader.cs
- ResourceContainer.cs
- EntityFrameworkVersions.cs
- counter.cs
- ProfileProvider.cs
- JournalNavigationScope.cs
- FileRegion.cs