Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Documents / FrameworkRichTextComposition.cs / 1 / 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. //---------------------------------------------------------------------------- // //// 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
- ElementProxy.cs
- CompositeCollectionView.cs
- Dynamic.cs
- LineServices.cs
- MetadataPropertyvalue.cs
- SoapMessage.cs
- TemplatedMailWebEventProvider.cs
- RuleRefElement.cs
- ContainerAction.cs
- ContextStack.cs
- IisTraceListener.cs
- SoapEnumAttribute.cs
- Activator.cs
- CodeObject.cs
- XmlSignificantWhitespace.cs
- _AuthenticationState.cs
- unsafenativemethodstextservices.cs
- MenuStrip.cs
- OutputCacheModule.cs
- AuthorizationRule.cs
- CommandValueSerializer.cs
- DPTypeDescriptorContext.cs
- Image.cs
- ScriptControlManager.cs
- Button.cs
- WindowsListViewItemStartMenu.cs
- CommonDialog.cs
- _IPv6Address.cs
- TextEncodedRawTextWriter.cs
- PostBackOptions.cs
- PointLightBase.cs
- PageContentCollection.cs
- FormatterServices.cs
- EventLog.cs
- EntityDataSourceView.cs
- DoubleCollectionConverter.cs
- VectorConverter.cs
- Graph.cs
- DataGridViewCheckBoxColumn.cs
- RadioButtonBaseAdapter.cs
- BoundsDrawingContextWalker.cs
- DataMember.cs
- DockPattern.cs
- GridViewItemAutomationPeer.cs
- AppDomainUnloadedException.cs
- FloaterBaseParaClient.cs
- ConnectionPointCookie.cs
- DialogWindow.cs
- MessageBodyDescription.cs
- CodeCatchClause.cs
- GridViewCommandEventArgs.cs
- HMACRIPEMD160.cs
- FrameworkRichTextComposition.cs
- SatelliteContractVersionAttribute.cs
- PrivacyNoticeBindingElementImporter.cs
- ToolStripRenderer.cs
- TextView.cs
- Base64Encoder.cs
- XXXInfos.cs
- MonthCalendarDesigner.cs
- DispatcherHookEventArgs.cs
- ModelMemberCollection.cs
- CodeGotoStatement.cs
- DataTableCollection.cs
- XamlHostingSection.cs
- ButtonAutomationPeer.cs
- DependencyPropertyChangedEventArgs.cs
- RewritingValidator.cs
- GC.cs
- CopyOfAction.cs
- NetSectionGroup.cs
- CqlParser.cs
- SamlSecurityTokenAuthenticator.cs
- Pick.cs
- InternalDispatchObject.cs
- Ops.cs
- KeyToListMap.cs
- ProjectionPruner.cs
- SQLBinary.cs
- BufferBuilder.cs
- EntityProxyTypeInfo.cs
- RequestNavigateEventArgs.cs
- ProjectedSlot.cs
- XPathSelectionIterator.cs
- EditorPartChrome.cs
- ExpressionVisitor.cs
- GraphicsContext.cs
- InkCanvas.cs
- SystemDiagnosticsSection.cs
- Rect3D.cs
- Evaluator.cs
- DrawingGroupDrawingContext.cs
- ContentValidator.cs
- FixedPage.cs
- LinkClickEvent.cs
- XmlDataSource.cs
- MetadataWorkspace.cs
- ScrollPattern.cs
- ToolboxDataAttribute.cs
- CrossAppDomainChannel.cs