嗨,我从materialDesign使用 现在我从工具箱中使用自动完成框搜索:AutoCompleteBox 我如何个性化'toolkit:AutoCompleteBox'这样的材料设计文本框?
我的文本框没有自动填充
<TextBox x:Name="SearchTextBox"
materialDesign:HintAssist.FloatingScale=".56"
materialDesign:HintAssist.FloatingOffset="1,-30"
materialDesign:TextFieldAssist.TextBoxViewMargin="1 0 1 0"
Margin="16,55,16,0" HorizontalAlignment="Stretch"
materialDesign:HintAssist.IsFloating="True"
VerticalAlignment="Top"
FontSize="24"
Height="70" Background="{x:Null}" Padding="6,0,20,3" Grid.ColumnSpan="2">
<materialDesign:HintAssist.Hint>
<StackPanel Orientation="Horizontal" Margin="0 0 0 0">
<TextBlock x:Name="SearchTextBlock" FontSize="24" Padding="0,0,0,0">Search</TextBlock>
</StackPanel>
</materialDesign:HintAssist.Hint>
</TextBox>
现在是tolkit之后
<toolkit:AutoCompleteBox
x:Name="AutoComplete1"
materialDesign:HintAssist.Hint="ss"
Style="{StaticResource acInput}"
IsTextCompletionEnabled="True"
Height="70" Margin="16,58,16,0" Grid.ColumnSpan="2" VerticalAlignment="Top" Background="{x:Null}"/>