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
- SynchronizationContext.cs
- AnnouncementSendsAsyncResult.cs
- SelectedDatesCollection.cs
- DataContract.cs
- XPathAxisIterator.cs
- InputBuffer.cs
- PowerStatus.cs
- SafeIUnknown.cs
- GradientStop.cs
- ToolStripMenuItem.cs
- CompiledRegexRunner.cs
- WebPartMinimizeVerb.cs
- Vector3dCollection.cs
- InternalTypeHelper.cs
- ScriptManagerProxy.cs
- GrammarBuilderBase.cs
- ThemeInfoAttribute.cs
- Hyperlink.cs
- Command.cs
- LinkLabel.cs
- Label.cs
- ViewManager.cs
- Blend.cs
- LinkArea.cs
- ValidationUtility.cs
- CultureNotFoundException.cs
- DataGridViewCellMouseEventArgs.cs
- PathParser.cs
- ValueChangedEventManager.cs
- XmlSchemaSimpleTypeList.cs
- SafeFileHandle.cs
- ResolveNameEventArgs.cs
- OutputScopeManager.cs
- GraphicsContainer.cs
- WebHttpBindingCollectionElement.cs
- SqlDependencyListener.cs
- SoapCodeExporter.cs
- ServiceThrottlingElement.cs
- CornerRadius.cs
- AvtEvent.cs
- CallbackDebugBehavior.cs
- TraceListener.cs
- VirtualPathProvider.cs
- ToolTip.cs
- SamlDelegatingWriter.cs
- EmptyControlCollection.cs
- Soap.cs
- ServiceOperation.cs
- WebChannelFactory.cs
- DataRecordInfo.cs
- DocumentScope.cs
- StrongNameIdentityPermission.cs
- SafeFileMappingHandle.cs
- DataRow.cs
- ToolStripRendererSwitcher.cs
- CompilerParameters.cs
- Funcletizer.cs
- MetadataResolver.cs
- TdsParserStateObject.cs
- ObjectDataSourceMethodEventArgs.cs
- TabletDeviceInfo.cs
- Region.cs
- ScrollData.cs
- DriveInfo.cs
- X509Utils.cs
- TableProviderWrapper.cs
- XamlPoint3DCollectionSerializer.cs
- SemaphoreSecurity.cs
- HostingEnvironmentException.cs
- DataGridViewTextBoxColumn.cs
- HtmlInputReset.cs
- TextEmbeddedObject.cs
- RegisteredScript.cs
- ReachSerializableProperties.cs
- Win32Exception.cs
- Attachment.cs
- SrgsElementList.cs
- XPathChildIterator.cs
- SectionRecord.cs
- _LoggingObject.cs
- GridViewCellAutomationPeer.cs
- LayoutDump.cs
- SourceItem.cs
- CompilerScopeManager.cs
- HotSpot.cs
- HiddenFieldPageStatePersister.cs
- ServicesUtilities.cs
- PreservationFileWriter.cs
- CompiledQuery.cs
- PromptEventArgs.cs
- SecurityResources.cs
- ToolStripPanelSelectionGlyph.cs
- NodeLabelEditEvent.cs
- SqlTrackingWorkflowInstance.cs
- WriterOutput.cs
- LinkedList.cs
- AffineTransform3D.cs
- dtdvalidator.cs
- SqlCaseSimplifier.cs
- Type.cs