Stack Panel in WPF

Stack Panel in WPF:-

It is the Container element of WPF which is used to show the record using vertical and horizontal dimensions.

Stack panel display element according to the sequence.

if we want to create multiple sub-container then the stack panel will work as the main container.

By Default StackPanel has a Vertical orientation and Child Component Contains 100% width and automatic height.
if StackPanel has Horizontal Orientation then Child Component Contains 100% height and automatic width.

Post a Comment


POST Answer of Questions and ASK to Doubt

Post a Comment (0)