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
- HyperLinkColumn.cs
- ComplexType.cs
- CompositeFontFamily.cs
- XmlSchemaSubstitutionGroup.cs
- SecurityContextTokenValidationException.cs
- ObsoleteAttribute.cs
- CodeAttachEventStatement.cs
- JsonReaderWriterFactory.cs
- Point3DCollection.cs
- ValueType.cs
- TextServicesPropertyRanges.cs
- RemoteWebConfigurationHost.cs
- SystemFonts.cs
- PageCatalogPart.cs
- DocumentViewerConstants.cs
- RoutingConfiguration.cs
- CodeConditionStatement.cs
- HtmlAnchor.cs
- storepermission.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlILModule.cs
- BezierSegment.cs
- BrowserCapabilitiesFactoryBase.cs
- CodeLabeledStatement.cs
- cookie.cs
- ProxyElement.cs
- XmlEventCache.cs
- SqlDependencyListener.cs
- OdbcEnvironmentHandle.cs
- ContractMapping.cs
- FormViewUpdatedEventArgs.cs
- PatternMatcher.cs
- IriParsingElement.cs
- ToolStripPanel.cs
- _OverlappedAsyncResult.cs
- ObjectTag.cs
- EncryptedXml.cs
- BindingOperations.cs
- AssociationTypeEmitter.cs
- filewebresponse.cs
- PtsContext.cs
- EmissiveMaterial.cs
- MultiDataTrigger.cs
- SessionEndingEventArgs.cs
- UIElement.cs
- processwaithandle.cs
- RequestTimeoutManager.cs
- SafeNativeMethodsCLR.cs
- DesignerAutoFormatStyle.cs
- HTMLTextWriter.cs
- Triplet.cs
- UiaCoreProviderApi.cs
- SqlFlattener.cs
- Tile.cs
- XmlSchemaComplexContentRestriction.cs
- ActivityWithResultConverter.cs
- MenuItemBindingCollection.cs
- ConfigurationCollectionAttribute.cs
- OperationCanceledException.cs
- BuildProvidersCompiler.cs
- DBSqlParserColumn.cs
- DataGridViewElement.cs
- XPathAxisIterator.cs
- RemoteWebConfigurationHostStream.cs
- UniqueConstraint.cs
- InvalidPrinterException.cs
- PackageProperties.cs
- IntegerValidatorAttribute.cs
- ServerValidateEventArgs.cs
- SerializerProvider.cs
- Row.cs
- KeyedHashAlgorithm.cs
- CodeTypeReferenceSerializer.cs
- CorePropertiesFilter.cs
- UTF32Encoding.cs
- QilParameter.cs
- FilterQuery.cs
- wmiprovider.cs
- SchemaTableOptionalColumn.cs
- CustomSignedXml.cs
- FixedSOMLineRanges.cs
- WebWorkflowRole.cs
- basevalidator.cs
- CodeMethodReturnStatement.cs
- TcpClientChannel.cs
- FamilyMap.cs
- PlanCompiler.cs
- EdgeProfileValidation.cs
- DataGridColumnHeader.cs
- bindurihelper.cs
- glyphs.cs
- RootBuilder.cs
- SchemaTypeEmitter.cs
- SQLBinaryStorage.cs
- DropDownList.cs
- ContentTextAutomationPeer.cs
- AutomationIdentifierGuids.cs
- InheritedPropertyDescriptor.cs
- DrawingCollection.cs
- CodeMethodReturnStatement.cs