Android.Text.Selection: Method Members

The methods of Android.Text.Selection are listed below. For a list of all members, see the Selection Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
ExtendDown(ISpannable, Layout) : bool
Move the selection end to the buffer offset physically below the current selection end.
static
ExtendLeft(ISpannable, Layout) : bool
Move the selection end to the buffer offset physically to the left of the current selection end.
static
ExtendRight(ISpannable, Layout) : bool
Move the selection end to the buffer offset physically to the right of the current selection end.
static
ExtendSelection(ISpannable, int)
Move the selection edge to offset index.
static
ExtendToLeftEdge(ISpannable, Layout) : bool
static
ExtendToRightEdge(ISpannable, Layout) : bool
static
ExtendUp(ISpannable, Layout) : bool
Move the selection end to the buffer offset physically above the current selection end.
static
GetSelectionEnd(Java.Lang.ICharSequence) : int
Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.
static
GetSelectionEnd(string) : int
Documentation for this section has not yet been entered.
static
GetSelectionStart(Java.Lang.ICharSequence) : int
Return the offset of the selection anchor or cursor, or -1 if there is no selection or cursor.
static
GetSelectionStart(string) : int
Documentation for this section has not yet been entered.
static
MoveDown(ISpannable, Layout) : bool
Move the cursor to the buffer offset physically below the current offset, to the end of the buffer if it is on the bottom line but not at the end, or return false if the cursor is already at the end of the buffer.
static
MoveLeft(ISpannable, Layout) : bool
Move the cursor to the buffer offset physically to the left of the current offset, or return false if the cursor is already at the left edge of the line and there is not another line to move it to.
static
MoveRight(ISpannable, Layout) : bool
Move the cursor to the buffer offset physically to the right of the current offset, or return false if the cursor is already at at the right edge of the line and there is not another line to move it to.
static
MoveToLeftEdge(ISpannable, Layout) : bool
static
MoveToRightEdge(ISpannable, Layout) : bool
static
MoveUp(ISpannable, Layout) : bool
Move the cursor to the buffer offset physically above the current offset, to the beginning if it is on the top line but not at the start, or return false if the cursor is already on the top line.
static
RemoveSelection(ISpannable)
Remove the selection or cursor, if any, from the text.
static
SelectAll(ISpannable)
Select the entire text.
static
SetSelection(ISpannable, int)
Move the cursor to offset index.
static
SetSelection(ISpannable, int, int)
Set the selection anchor to start and the selection edge to stop.