Gets or sets a DataTemplate used to draw the markers in the C1List. If this property is set, MarkerStyle and MarkerImage are ignored.

Namespace:  C1.Phone.RichTextBox.Documents
Assembly:  C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

C#
public DataTemplate MarkerTemplate { get; set; }
Visual Basic
Public Property MarkerTemplate As DataTemplate
	Get
	Set
XAML Property Element Usage
<object>
  <object.MarkerTemplate>
    <DataTemplate .../>
  </object.MarkerTemplate>
</object>

Remarks

When the DataTemplate is instanced, the DataContext is set to an object of type C1ListMarkerTemplateContext. This can be used in bindings inside the DataTemplate to access the index and style properties of the list item.

See Also