Tuesday, 26 May 2015

What is Xaml?

XAML stands for extensible Application markup language, is variant of xml describing GUI. In winforms GUI framework was created in same language that you would use for interacting with the GUI like vb.net or c#.net.

Sunday, 10 May 2015

Hello World in WPF- WPF Tutorial

In xaml:

<Window x:Class="WpfApplication1.MainWindow"
        Title="MainWindow" Height="350" Width="525">
        <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="60">Hello World</TextBlock>

After run program

For more info visit:

Loop throuth all textboxes in Winforms

For iterating through all textboxes in winforms:

foreach (TextBox TextBox in this.Controls.OfType<TextBox>())
                if (TextBox.BackColor == Brushes.Green)
                    //your code