Components

Modifiers

Video Player

Paragraph Component

Как создать новый компонент

En

Ru

Paragraph Component

Paragraph is a Block of text and other Inlines

Посмотрите исходный код этой страницы на Github

GitHub

"Single line paragraph",

Single line paragraph

""" Multiline paragraph """,

Multiline paragraph

$"Use interpolated strings to insert {Node.Root:link} or {Bold("styled text")}",

Use interpolated strings to insert link or styled text

Alignment

Multi line paragraph aligned to the right

Text justification including last line

Multiple spaces | | 8 spaces

Long single line paragraph, that should wrap. Long single line paragraph, that should wrap. Long single line paragraph, that should wrap.

Line starting with 4 spaces

Line starting with tab (tab = 4 spaces)

Long paragraph separated by tabs Long paragraph separated by tabs Long paragraph separated by tabs Long paragraph separated by tabs Long paragraph separated by tabs

Background

If background color is set, margins are replaced by paddings. Default buinding for MarginLeft is (element.BackgroundColor != undefined) ? 0 : 10, Default buinding for PaddingLeft is (element.BackgroundColor != undefined) ? 10 : undefined

Paddings = 30

LongWordScaling_LongWordScaling_LongWordScaling

Huge_paddings

.FillWidth()

.FillWidth().InheritHorizontalPaddings()

PaddingLeft = new(e=>Js.Num.Max(e.Parent.PaddingLeft, 20)), PaddingRight = new(e=>Js.Num.Max(e.Parent.PaddingRight, 20)), Resize to see difference with previous

This website has been created using StaticSharp