I am using Blend (and I'm very new to it) to create XAML. I have a line of code which calls the function writeC
below:
<Button x:Name="key_c" Content="c" HorizontalAlignment="Left" Height="60"
Margin="243,188.667,0,0" VerticalAlignment="Top" Width="60" FontWeight="Bold"
FontFamily="Century Gothic" FontSize="21.333" Foreground="Black"
Click="writeC">
This works fine. However, I would like to change it to call a function WriteChar
with the parameters "a"
and "A"
, so that it calls the following C# function:
private void writeChar(string myCharCaps, string myCharLower)
How would I write this in XAML?