SwipeAction

An action revealed by swiping a row.
public sealed class SwipeAction

Properties

Background

The action's background color, or null for the system default.

Type: Color?

public Color? Background { get; set; }

Command

Invoked with the row's item.

Type: ICommand?

public ICommand? Command { get; set; }

Icon

The local icon shown on the action, or null for none.

Type: ImageSource?

public ImageSource? Icon { get; set; }

IsDestructive

Whether the action is styled as destructive, and runs on a full swipe.

Type: bool

public bool IsDestructive { get; set; }

Side

Which edge reveals the action.

Type: SwipeSide

public SwipeSide Side { get; set; }

Text

The action's title.

Type: string?

public string? Text { get; set; }