Gets or sets the width of the border on each edge. The border is drawn over the edges of the Avalonia.Controls.TextBlock.Padding area rather than outside it, so give the block at least as much padding on those edges, or the border overlaps its text.
public Thickness BorderThickness { get; set; }