Articles → WPF → XAML File In WPF

XAML File In WPF





  1. XAML is the file with .xaml extension.
  2. This file contains mark ups. These mark ups is used to define UI elements.


<window
	xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
	xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”><Button x:Name=”blueButton”
        Width=”100”
        Height=”40”
        Background=”Blue”
        Content=”Click Me” /></window>




<StackPanel x:Name=”stack”></StackPanel>







X:Class Attribute





Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, March 3, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250