RichTextBox for UWP | ComponentOne
C1.Xaml.RichTextBox Namespace / EditExtensions Class / Delete Method
A C1.Xaml.RichTextBox.Documents.C1TextRange where the content is to be deleted.

In This Topic
    Delete Method
    In This Topic
    Deletes elements and content in a range.
    Syntax
    'Declaration
     
    <ExtensionAttribute()>
    Public Shared Function Delete( _
       ByVal range As C1TextRange, _
       Optional ByVal hasSelection As Boolean, _
       Optional ByVal needDeleteTable As Boolean _
    ) As C1TextPointer
    [Extension()]
    public static C1TextPointer Delete( 
       C1TextRange range,
       bool hasSelection,
       bool needDeleteTable
    )

    Parameters

    range
    A C1.Xaml.RichTextBox.Documents.C1TextRange where the content is to be deleted.
    hasSelection
    needDeleteTable

    Return Value

    A position before the deleted range,
    See Also