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
- Model3DGroup.cs
- HttpListenerResponse.cs
- CellCreator.cs
- DataSourceCache.cs
- QuaternionRotation3D.cs
- SafeNativeMethods.cs
- RelatedPropertyManager.cs
- DBSchemaRow.cs
- MulticastDelegate.cs
- C14NUtil.cs
- dtdvalidator.cs
- DbMetaDataColumnNames.cs
- AccessedThroughPropertyAttribute.cs
- _Rfc2616CacheValidators.cs
- ParameterSubsegment.cs
- Message.cs
- WindowsScroll.cs
- XPSSignatureDefinition.cs
- PartialClassGenerationTaskInternal.cs
- HttpServerVarsCollection.cs
- SafeRightsManagementPubHandle.cs
- PerfCounterSection.cs
- TextDecorationCollectionConverter.cs
- XmlSchemaInclude.cs
- GridView.cs
- _NetworkingPerfCounters.cs
- CompilationRelaxations.cs
- CqlWriter.cs
- CodeCompiler.cs
- DisplayInformation.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- figurelength.cs
- PrintControllerWithStatusDialog.cs
- _StreamFramer.cs
- ButtonChrome.cs
- SimpleApplicationHost.cs
- LinqDataSource.cs
- ParagraphVisual.cs
- CellQuery.cs
- WindowsImpersonationContext.cs
- Operators.cs
- PackageRelationship.cs
- XmlMapping.cs
- WebPartAuthorizationEventArgs.cs
- ParseHttpDate.cs
- SortExpressionBuilder.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- BooleanSwitch.cs
- ListItemCollection.cs
- SwitchLevelAttribute.cs
- InputProcessorProfilesLoader.cs
- PngBitmapDecoder.cs
- PostBackOptions.cs
- SafeLocalAllocation.cs
- XslCompiledTransform.cs
- OleDbException.cs
- DropDownButton.cs
- PenContexts.cs
- ChannelManagerBase.cs
- CodeSnippetTypeMember.cs
- Win32.cs
- RetrieveVirtualItemEventArgs.cs
- ColumnMapVisitor.cs
- PageStatePersister.cs
- ProfessionalColors.cs
- ReadOnlyTernaryTree.cs
- AttributeCollection.cs
- LocalizationParserHooks.cs
- MenuItemStyleCollectionEditor.cs
- TCPListener.cs
- Ref.cs
- InlineUIContainer.cs
- RoleManagerModule.cs
- EntitySqlException.cs
- GeneralTransform.cs
- FigureParagraph.cs
- ArgumentValidation.cs
- DateTimeConverter.cs
- ExchangeUtilities.cs
- SendKeys.cs
- OleDbPermission.cs
- GregorianCalendarHelper.cs
- ScriptingScriptResourceHandlerSection.cs
- BamlReader.cs
- Adorner.cs
- HelpProvider.cs
- ProgressChangedEventArgs.cs
- Double.cs
- ProviderConnectionPointCollection.cs
- ListControlConvertEventArgs.cs
- ConfigsHelper.cs
- EmbeddedObject.cs
- QuaternionAnimation.cs
- XmlDocumentType.cs
- WebPartCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- ThousandthOfEmRealPoints.cs
- QilBinary.cs
- TemplateBuilder.cs
- JpegBitmapEncoder.cs