You are not logged in! Log in or Register

VisualContent

Description

The VisualContent block is one of the three containers allowed in a VisualPage (toghether with VisualHeader and VisualFooter). VisualContent is a container inside a VisualPage that can contain interactive elements (like buttons) and has the ability to scroll when the contents go beyond the screen border.

Attributes

  • LayoutType [Page|Poster]: The 'Page' type is the default scrolling page behaviour, contents is added from top to bottom. When 'Poster' is selected, all contents will be centered on the screen. Of course, care must be taken not to go off screen in this mode. The 'Poster' mode is particularly relevant in WidgetMode when the available size is known exactly. Default: Page.
  • Name [string]: The name of the block.
  • Padding [Padding]: Defines the amount of whitespace inside the item.
  • Style [Style]: The style that needs to be applied to the block.
  • Visible [boolean]: Whether or not the item (and all it's children) are visible. Default. true.

Examples

1 <VisualPage>
2 	<VisualContent LayoutType="Page">
3 		<VisualImage Url="http://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Belgium_cofa.PNG/85px-Belgium_cofa.PNG"/> 
4 	</VisualContent>
5 </VisualPage>
Example image
1 <!-- The same widget with LayoutType ‘Poster’ -->
2 <VisualPage>
3 	<VisualContent LayoutType="Poster">
4 		<VisualImage Url="http://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Belgium_cofa.PNG/85px-Belgium_cofa.PNG"/> 
5 	</VisualContent>
6 </VisualPage>
Example image

User comments

Nothing comments yet. Be the first!

Leave a comment

You need to be logged in to post a comment.