CommunityToolkit / WindowsCommunityToolkit

The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
https://docs.microsoft.com/windows/communitytoolkit/
Other
5.89k stars 1.37k forks source link

Port Live tile from Callisto #16

Closed deltakosh closed 8 years ago

dotMorten commented 8 years ago

Here's a preview of the tile in action: The tile is the first box. The text under is a textblock binding to SelectedItem (which is also settable and will flip to that item if you set it). livetilepreview

XAML for this:

<controls:LiveTile ItemsSource="{x:Bind Photos}" Direction="Up" Width="400" Height="200" >
  <controls:LiveTile.ItemTemplate>
     <DataTemplate>
            <Grid>
                <Image HorizontalAlignment="Center" Stretch="UniformToFill" Source="{Binding Thumbnail}" />
                <TextBlock Text="{Binding Category}" VerticalAlignment="Bottom" Margin="5" />
            </Grid>
        </DataTemplate>
    </controls:LiveTile.ItemTemplate>
</controls:LiveTile>
deltakosh commented 8 years ago

Suggested name: ItemsSpinner

dotMorten commented 8 years ago

Did a little research and controls like this are often referred to as rotators. ItemsRotator or RotatorTile ?

dotMorten commented 8 years ago

Done !