public interface ICustomObj { .... } public class CustomObj<t> : ICustomObj { //Impliments ICustomObj } </t>
CustomObj<string></string>
CustomObj<datetime></datetime>
<ListBox ItemsSource="{Binding Path=EntryItems}"> <ListBox.ItemTemplate> <DataTemplate Template="{Binding Path=Value, Converter=EntryConverter}"/> </ListBox.ItemTemplate> </ListBox>
The property 'Template' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements.
MarkupExtension
IValueConverter
Convert
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)