Components
Modifiers
Video Player
Paragraph Component
Как создать новый компонент
Paragraph Component
Paragraph is a Block of text and other Inlines
Посмотрите исходный код этой страницы на Github
Single line paragraph
Multiline paragraph
Use interpolated strings to insert link or
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