Button Windows phone 8.1按钮样式
我正在开发windows phone应用程序,不是silverlight,只是基本应用程序。 有没有办法让我的应用程序的按钮看起来像瓷砖。这意味着我希望我的按钮在页面内的瓷砖。 我想做一些像 但当我将此代码放在页面上时,在标记行中出现了类似“未定义默认名称空间”的错误Button Windows phone 8.1按钮样式,button,windows-phone-8.1,Button,Windows Phone 8.1,我正在开发windows phone应用程序,不是silverlight,只是基本应用程序。 有没有办法让我的应用程序的按钮看起来像瓷砖。这意味着我希望我的按钮在页面内的瓷砖。 我想做一些像 但当我将此代码放在页面上时,在标记行中出现了类似“未定义默认名称空间”的错误 *<Style x:Key="TileListBoxItemStyle" TargetType="ListBoxItem">* <Setter Property="HorizontalContentAli
*<Style x:Key="TileListBoxItemStyle" TargetType="ListBoxItem">*
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
<Setter Property="VerticalContentAlignment" Value="Stretch"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="FontSize" Value="64"/>
<Setter Property="Margin" Value="12,12,0,0"/>
<Setter Property="Background" Value="{StaticResource PhoneAccentBrush}"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="Width" Value="173"/>
<Setter Property="Height" Value="173"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Grid>
<Rectangle Fill="{TemplateBinding Background}"/>
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
**
在您提供的链接上,BBC应用程序正在使用hubbiles并附加onClick事件处理程序,使它们看起来像按钮
请使用telerik的Hubbile或其他工具,您将获得与BBC应用程序相同的结果不清楚您的问题。请明确你需要什么。在你定义的模板中使用图像控制并尝试它。你能详细说明一下吗?我需要做什么。。