Articles → WPF → Stackpanel In WPF

Stackpanel In WPF






Purpose





Orientation Attribute






  1. Horizontal
  2. Vertical

Example




<StackPanel Orientation="Horizontal">
	<Button>Button 1</Button>
	<Button>Button 2</Button>
	<Button>Button 3</Button>
</StackPanel>




Picture showing the output of StackPanel in WPF

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, February 10, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250