You are not logged in! Log in or Register

VisualDataSeparator

Description

The VisualDataSeparator is the data template version (see VisualDataTemplate) of the VisualSeparator (see VisualSeparator). It can be used inside a VisualDataTemplate to layout other VisualDataXXXX items. The VisualDataSeparator can only be used inside a VisualDataTemplate container. The VisualDataSeparator 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 <!--
 2 This will display the headlines of Slashdot seperator by 10 pixels and a line
 3 -->
 4 <DataReader Name="source" Url="http://rss.slashdot.org/Slashdot/slashdot"/> 
 5 
 6 <DataFilter Name="filter" Input="source" Filter=".rdf:RDF.item"/> 
 7 <VisualPage> 
 8 	<VisualContent> 
 9 		<VisualDataTemplate Input="filter"> 
10 			<VisualDataText Filter=".item.title" MultiLine="true"/> 
11 			<VisualDataSeparator SeparatorType="Line" SeparationWidth="10"/> 
12 		</VisualDataTemplate> 
13 	</VisualContent> 
14 </VisualPage>
Example image

User comments

Nothing comments yet. Be the first!

Leave a comment

You need to be logged in to post a comment.