Базові властивості
Код
button.Content
label.Content
textBox.Text
textBlock.Text
btn.Foreground = Brushes.Blue;
btn.Background = Brushes.Red;
btn.Background = (Brush)(new BrushConverter().ConvertFrom("#FF2463AE"));
btn.FontSize = 40; // +=1
btn.FontWeight = FontWeights.Bold;
btn.Opacity = 0.2;
btn.Visibility = Visibility.Hidden;
XAML
Foreground="Green"
Background="Blue"
FontWeight="Bold"
FontSize="72"
Padding="30"
Padding="10 5 10 5" // left, top, right, and bottom
Margin="20 5 10 5"
HorizontalAlignment="Center"
VertacalAlignment="Center"
ResizeMode="NoResize"
<!-- --> - коментар
Налаштування
Appearance -> Opacity - прозорість
Layout -> VerticalScrollBarVisibility - веритикальна прокрутка