Padding Comparison : Padding « Windows Presentation Foundation « VB.Net Tutorial






<Window x:Class="Content.PaddingComparison"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="PaddingComparison" Height="185" Width="239"
    >
  <StackPanel Margin="15" HorizontalAlignment="Center">
    <Button>Absolutely No Padding</Button>
    <Button Padding="3">Well Padded</Button>
  </StackPanel>
</Window>
WPF Padding Comparison








16.52.Padding
16.52.1.Padding ComparisonPadding Comparison
16.52.2.Add Thickness for PaddingAdd Thickness for Padding