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
- clipboard.cs
- Token.cs
- StructuredTypeEmitter.cs
- Mappings.cs
- Transform.cs
- ScriptManager.cs
- CopyOnWriteList.cs
- OpacityConverter.cs
- EnvironmentPermission.cs
- SelectManyQueryOperator.cs
- LocatorPart.cs
- DecimalAverageAggregationOperator.cs
- login.cs
- WebService.cs
- UserControlCodeDomTreeGenerator.cs
- Object.cs
- EmptyStringExpandableObjectConverter.cs
- AdapterUtil.cs
- EntityDataSourceSelectedEventArgs.cs
- DependencyObjectPropertyDescriptor.cs
- WeakHashtable.cs
- DefaultTraceListener.cs
- HttpContext.cs
- WebServiceErrorEvent.cs
- Utils.cs
- IsolatedStorageException.cs
- BoundColumn.cs
- HorizontalAlignConverter.cs
- CallSiteOps.cs
- DetailsViewDeletedEventArgs.cs
- DBSqlParser.cs
- ImpersonationContext.cs
- CodeMemberField.cs
- TraceInternal.cs
- DataFormat.cs
- TraceSection.cs
- Statements.cs
- Hex.cs
- UserNameSecurityToken.cs
- TextAdaptor.cs
- ContentFileHelper.cs
- RightsManagementSuppressedStream.cs
- VisualTreeUtils.cs
- CloudCollection.cs
- CollectionCodeDomSerializer.cs
- CommandField.cs
- StringReader.cs
- CodeVariableReferenceExpression.cs
- ListView.cs
- QueryResults.cs
- ContextDataSourceContextData.cs
- LoginViewDesigner.cs
- _Events.cs
- WindowsBrush.cs
- TableLayoutCellPaintEventArgs.cs
- BamlRecords.cs
- PanelStyle.cs
- ConnectionConsumerAttribute.cs
- GeometryGroup.cs
- x509utils.cs
- PrimitiveXmlSerializers.cs
- XmlSchemaType.cs
- BitmapCache.cs
- CodeStatementCollection.cs
- SerializerDescriptor.cs
- EventListenerClientSide.cs
- ListCollectionView.cs
- TableRow.cs
- PropertyChangedEventManager.cs
- DataViewListener.cs
- Exceptions.cs
- DataControlExtensions.cs
- MembershipSection.cs
- ValidationSummary.cs
- DataControlLinkButton.cs
- panel.cs
- IntPtr.cs
- AstTree.cs
- IdnElement.cs
- BindingNavigator.cs
- WorkItem.cs
- BitmapScalingModeValidation.cs
- Main.cs
- RepeatInfo.cs
- PageOutputColor.cs
- PictureBox.cs
- IsolatedStorageFile.cs
- DataServiceQueryProvider.cs
- SchemaCollectionPreprocessor.cs
- hresults.cs
- OdbcDataReader.cs
- SocketInformation.cs
- PeerEndPoint.cs
- ResourceSetExpression.cs
- MobileComponentEditorPage.cs
- DateTimeFormat.cs
- HandlerBase.cs
- NumericPagerField.cs
- Debug.cs
- SHA384.cs