CREATE WPF APPLICATION WITHOUT XAML

Amit Singh

Total Post:103

Points:721
Posted by  Amit Singh
WPF 
WPF
 2696  View(s)
Ratings:
Rate this:
can we create WPF application using another language but not using XAML?
  1. Uttam Misra

    Post:126

    Points:906
    Re: create wpf application without xaml

    All you can do in XAML can also be done in code. XAML is just another way to create and initialize objects. You can use WPF without using XAML. It's up to you if you want to declare it in XAML or write it in code. Declare your UserInterface in XAML has some advantages:

    • XAML code is short and clear to read
    • Separation of designer code and logic
    • Graphical design tools like Expression Blend require XAML as source.
    • The separation of XAML and UserInterface logic allows it to clearly separate the roles of designer and developer.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!