---
title: "create wpf application without xaml"  
description: "create wpf application without xaml"  
author: "Amit Singh"  
published: 2010-10-02  
updated: 2010-10-03  
canonical: https://www.mindstick.com/forum/12/create-wpf-application-without-xaml  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# create wpf application without xaml

can we create [WPF](https://www.mindstick.com/forum/304/wpf) [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) using another [language](https://www.mindstick.com/startup/28/preply-the-fast-growing-platform-transforming-language-learning) but not using XAML?

## Replies

### Reply by Uttam Misra

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.

\


---

Original Source: https://www.mindstick.com/forum/12/create-wpf-application-without-xaml

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
