首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > CAD教程 >

textbox顶部平添图片 求代码!

2013-04-21 
textbox顶部添加图片求代码!!好像是自定义,不过不会写。。。求大神教。。。期待.[解决办法]DockPanelButton B

textbox顶部添加图片 求代码!!
textbox顶部平添图片  求代码!好像是自定义,不过不会写。。。求大神教。。。 期待.
[解决办法]


<DockPanel>
    <Button BorderThickness="0" DockPanel.Dock="Left" HorizontalAlignment="Right" Height="28" Width="23">
         <DynamicResource ResourceKey="SearchBar"/>
    </Button> 'This is a button, because I have a custom Style which I am using which makes all the borders go away. And also because I use it to clear the field.
    <TextBox Text="Search..." FontSize="16" HorizontalAlignment="Stretch" Background="Transparent"/>
</DockPanel>


参考

热点排行