Inspired by Silverlight; XAML engine using Javascript and rendering to the HTML5 Canvas.
BSick7 on calendar
BSick7 on master
Create basic implementation of … (compare)
BSick7 on 0.19.19
BSick7 on master
0.19.19 (compare)
BSick7 on border-clearvalue
<ScrollViewer BorderThickness="0"
x:Name="ScrollElement"
IsTabStop="False"
Background="{x:Null}"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Disabled">
<ScrollViewer x:Name="ContentElement"
BorderThickness="0"
IsTabStop="False"
Margin="4,0,2,2"
Padding="0,0,5,0"
Background="{x:Null}"
HorizontalAlignment="{TemplateBinding TextAlignment}"
VerticalScrollBarVisibility="Disabled"
HorizontalScrollBarVisibility="Disabled" />
</ScrollViewer>
hi,
Is it possible to do MVVM with data templates, like in the original XAML?
I'm trying to reproduce this,
<Window.Resources>
<DataTemplate DataType="{x:Type local:ItemViewModel}">
<TextBlock Text="{Binding DisplayName}" FontWeight="Bold" />
</DataTemplate>
</Window.Resources>
<StackPanel>
<ListBox ItemsSource="{Binding ListItems}" />
</StackPanel>
where ListItems
viewmodel prop is a list of type ItemViewModel
.
With Fayde, the listbox item content presenters won't make use of the data template.