1

enter image description here創建磚8

我想創造出一系列瓷磚的窗口電話8應用程序的一些這樣的事, 有沒有提供這樣的功能,任何控制或工具包...

回答

1

我不知道這個選中的圖塊是否存在於Windows手機的庫上。我從來沒有找到它!

爲什麼不用瓷磚組件和複選框組件創建自己的自定義瓷磚?

您創建了一個圖塊,並將此圖塊的chekbox關聯起來。

另外,也許你可以用這個樣本庫來幫助你創建自定義瓷磚或圖像複選框:Telerik with WrapMode for DataBound ListBox

對於創建一個自定義瓷磚與Telerik RADControl library,這是一個例子:

<ScrollViewer Background="Black" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> 
    <Grid x:Name="LayoutMenuRoot"> 
     <telerikPrimitives:RadHubTile 
      ImageSource="/Assets/TilesImage.png" 
      Tap="MyFunction" 
      Title="My Tile Title" 
      IsFrozen="True"  // move with a tile background or not. 
      VerticalAlignment="Top" 
      x:Name="MyTileName" 
      Height="168" 
      Margin="12,10,0,0" 
      Width="162"> 
     </telerikPrimitives:RadHubTile> 
    </Grid> 
</ScrollViewer> 

但是,該庫是不是免費的... 我想其他的開源庫存在創建一個磚.. 。

此外,您還可以創建Yoursel一個完整的瓷磚(與複選框),具有基本的Windows Phone組件:

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> 
     <Rectangle Fill="#FF77B608" HorizontalAlignment="Left" Height="128" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="209"/> 
     <TextBox HorizontalAlignment="Left" Height="69" Margin="10,69,0,0" TextWrapping="Wrap" Text="My Label" VerticalAlignment="Top" Width="201" SelectionForeground="{x:Null}" Background="{x:Null}" BorderBrush="{x:Null}"/> 
     <CheckBox Content="" HorizontalAlignment="Left" Margin="166,0,0,0" VerticalAlignment="Top"/> 
    </Grid> 
+0

感謝文檔,但你可以告訴米é如何創建自己的瓷磚選擇如上所示,請分享任何資源,如果你有... –

+0

嗨!我已經添加了一個示例,用於創建一個RadControl的自定義Tile,並用您自己的基本控件在您的應用程序中創建一個Tiles :) –