Search Results for

    Show / Hide Table of Contents

    Class BasicSegmentEditControl

    Inheritance
    System.Object
    BasicSegmentEditControl
    Namespace: Sdl.DesktopEditor.BasicControls
    Assembly: Sdl.DesktopEditor.BasicControls.dll
    Syntax
    public class BasicSegmentEditControl : UserControl

    Constructors

    BasicSegmentEditControl()

    Declaration
    public BasicSegmentEditControl()

    Properties

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    ItemFactory

    Declaration
    public IDocumentItemFactory ItemFactory { get; }
    Property Value
    Type Description
    IDocumentItemFactory

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    GetDocumentSegment()

    Declaration
    public ISegment GetDocumentSegment()
    Returns
    Type Description
    ISegment

    MoveSelection(TextLocation, TextLocation)

    Declaration
    public void MoveSelection(TextLocation fromLocation, TextLocation uptoLocation)
    Parameters
    Type Name Description
    TextLocation fromLocation
    TextLocation uptoLocation

    RedrawControl()

    Declaration
    public void RedrawControl()

    ReplaceDocumentSegment(ISegment)

    Declaration
    public void ReplaceDocumentSegment(ISegment segment)
    Parameters
    Type Name Description
    ISegment segment

    Events

    SegmentContentChanged

    Declaration
    public event EventHandler SegmentContentChanged
    Event Type
    Type Description
    System.EventHandler

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • BasicSegmentEditControl()
    • Properties
      • IsReadOnly
      • ItemFactory
    • Methods
      • Dispose(Boolean)
      • GetDocumentSegment()
      • MoveSelection(TextLocation, TextLocation)
      • RedrawControl()
      • ReplaceDocumentSegment(ISegment)
    • Events
      • SegmentContentChanged
    • Extension Methods
    Back to top Generated by DocFX