CellTemplate class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:29

Description

Displays content within parent ColStyle.

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

ObjectTypeNamethis optional attribute "filters out" all other objects. You can specify only one object type. If you skip it, it means the template will apply on all objects that can be displayed by the parent directory style. It's your responsibility to make sure that the previous is true.

Remarks

Which statements can be contained in CellTemplate

Single line of text

<xp:TextBlock VerticalAlignment="Top" HorizontalAlignment="Center" Text="-" />

A thumbnail in a popup

 <xp:StackPanel Orientation="Vertical" HorizontalAlignment="Center" Margin="0,1,0,1">

   <l:InfoPopup InfoId="{Binding Path=[folderObject.id]}">

     <l:Image MaxHeight="90" MaxWidth="90" ImageId="{Binding Path=[image.thumbnail.id]}" />

   </l:InfoPopup>

 </xp:StackPanel>

For examples of CellTemplate usage, see Examples of column styles.