PreviewShape

The shape of a row lifted as its own context-menu platter.
public sealed record PreviewShape(double Padding = 0, double CornerRadius = 0, Color? Background = null)

Constructors

Initializes a new instance of the PreviewShape class.

public PreviewShape(
  double Padding = 0,
  double CornerRadius = 0,
  Color? Background = null)
ParameterSummary
(optional) double PaddingUniform padding between the row's content and the platter's edge.
(optional) double CornerRadiusThe platter's corner radius.
(optional) Color? BackgroundThe platter's fill, or null for the system default. A transparent color draws none.

Properties

Background

The platter's fill, or null for the system default. A transparent color draws none.

Type: Color?

public Color? Background { get; init; }

CornerRadius

The platter's corner radius.

Type: double

public double CornerRadius { get; init; }

Padding

Uniform padding between the row's content and the platter's edge.

Type: double

public double Padding { get; init; }