<
ScrollViewer
telerik:StyleManager.Theme
=
"Metro"
>
<
telerik:RadWrapPanel
Grid.Column
=
"1"
Grid.Row
=
"3"
x:Name
=
"barcodeContainer"
ItemWidth
=
"280"
ItemHeight
=
"115"
Margin
=
"5,10,5,10"
></
telerik:RadWrapPanel
>
</
ScrollViewer
>
<
ListBox x:Name="booksListBox" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" >
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<telerik:VirtualizingWrapPanel ItemWidth="80"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding Author}" />
<TextBlock Text="{Binding Name}" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<
ListBox
x:Name
=
"lstStaticNavOptions"
ItemsSource
=
"{Binding StartTileList}"
Background
=
"Transparent"
BorderThickness
=
"0"
ScrollViewer.VerticalScrollBarVisibility
=
"Disabled"
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
HorizontalContentAlignment
=
"Stretch"
Style
=
"{StaticResource TileListBoxStyle}"
ItemTemplate
=
"{StaticResource dtTileChooser}"
>
<
DataTemplate
x:Key
=
"dtTileChooser"
>
<
templates:TileTemplateSelector
Content
=
"{Binding}"
>
<
templates:TileTemplateSelector.RefreshTrainingStatusTemplate
>
<
DataTemplate
>
<
Grid
Margin
=
"2 0"
Width
=
"120"
Height
=
"120"
Background
=
"Red"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Text
=
"{Binding TileStatus}"
Grid.Row
=
"1"
VerticalAlignment
=
"Top"
TextAlignment
=
"Center"
TextWrapping
=
"Wrap"
/>
</
Grid
>
</
DataTemplate
>
</
templates:TileTemplateSelector.RefreshTrainingStatusTemplate
>
<
templates:TileTemplateSelector.MyDocumentsStatusTemplate
>
<
DataTemplate
>
<
Grid
Margin
=
"2 0"
Width
=
"250"
Height
=
"120"
Background
=
"#FF169FDC"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Text
=
"{Binding TileStatus}"
Grid.Row
=
"1"
VerticalAlignment
=
"Top"
TextAlignment
=
"Center"
TextWrapping
=
"Wrap"
/>
</
Grid
>
</
DataTemplate
>
</
templates:TileTemplateSelector.MyDocumentsStatusTemplate
>
</
templates:TileTemplateSelector
>
</
DataTemplate
>
<
Style
x:Key
=
"TileListBoxStyle"
TargetType
=
"ListBox"
>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"ScrollViewer.HorizontalScrollBarVisibility"
Value
=
"Disabled"
/>
<
Setter
Property
=
"ItemsPanel"
>
<
Setter.Value
>
<
ItemsPanelTemplate
>
<
telerik:VirtualizingWrapPanel
Orientation
=
"Horizontal"
ItemHeight
=
"120"
ItemWidth
=
"120"
/>
</
ItemsPanelTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
hi,
is it possible to catch the event, if the VirtualizingWrapPanel render the ChildItems?
I need this information for an query to a web service. The web service sends me the next data package. If i have a new data package, i need to update the new rendered child items.
THX,
Tom