【发布时间】:2013-04-12 14:15:13
【问题描述】:
我想在组合框中获取默认文本以显示“选择团队....”
像这样在 WPF 中
Setting default text for a combo box
但在草图流中。
我该怎么做?
谢谢
这是一个银光项目。我的 xaml 读取:
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="SchoolsLoginScreens.Screen_2"
Width="640" Height="480">
<Grid x:Name="LayoutRoot" Background="White">
<ComboBox Height="61.256" Width="136.569" IsEditable="True" IsReadOnly="True" Text="-- Select Team --"/>
</Grid>
它说 IsEditable 没有设置器。但这似乎在 WPF 项目中像上面的示例一样工作。
【问题讨论】:
标签: silverlight combobox blend sketchflow