Why does a border appear around a TextBox when a Style is used as opposed to no Style being used? Is there a way to set this using a Style so no border appears, like in the "Phone" Grid/TextBox? See below:
WINDOW XAML
<!-- City, State, Zip --> <Grid Grid.Column="0" Grid.Row="2" Background="White" Margin="50,2,25,2"> <Viewbox> <TextBox Style="{Binding StandardTextBox1}" Text="{Binding CityStateZip}"/> </Viewbox> </Grid> <!-- Phone --> <Grid Grid.Column="0" Grid.Row="3" Background="White" Margin="50,2,25,2"> <Viewbox> <TextBox Background="Transparent" BorderBrush="Transparent" Text="{Binding FacilityPhoneMain}" TextAlignment="Center" FontSize="14" /> </Viewbox> </Grid> STYLE XAML
<!-- Standard TextBox 1 --> <Style TargetType="TextBox" x:Key="StandardTextBox1"> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderBrush" Value="Transparent"/> <Setter Property="TextAlignment" Value="Center"/> <Setter Property="FontSize" Value="14"/> </Style> 