RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1List Class / MarkerTemplate Property

In This Topic
    MarkerTemplate Property (C1List)
    In This Topic
    Gets or sets a System.Windows.DataTemplate used to draw the markers in the C1List. If this property is set, MarkerStyle and MarkerImage are ignored.
    Syntax
    'Declaration
     
    
    Public Property MarkerTemplate As DataTemplate
    public DataTemplate MarkerTemplate {get; set;}
    Remarks
    When the System.Windows.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