<Style x:Key="SearchInputBox" TargetType="{x:Type TextBox}">
<Setter Property="Height" Value="30"/>
<Setter Property="Width" Value="150"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TextBox}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBox Height="30" Whith="150" Grid.Column="0" Grid.ColumnSpan="2"/>
<Button Height="30" Whith="30" Grid.Column="1"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)