VisualSeparator
Description
The VisualSeparator inserts whitespace or a line to separate two visual elements.
Attributes
- Name [string]: The name of the block.
- Orientation [Horizontal|Vertical]: The direction in which contained elements should be stacked. Default: Horizontal.
- SeparationWidth [integer]: The width/height of the seperation (depending on Orientation) in amount of pixels. Default: 3.
- SeparatorType [WhiteSpace|Line]: The appearance of the Separator. Default: WhiteSpace.
- Style [Style]: The style that needs to be applied to the block.
Example
1 <VisualPage>
2 <VisualContent>
3 <VisualText Text="This is without"/>
4 <VisualText Text="separator."/>
5 <VisualSeparator SeparationWidth="20"/>
6 <VisualText Text="with whitespace"/>
7 <VisualSeparator SeparatorType="Line" SeparationWidth="20"/>
8 <VisualText Text="with a line"/>
9 </VisualContent>
10 </VisualPage>
11
12 <!-- This output the following -->
