MarkupStackPanel Object
See Also

Markup ActiveX Control v24.0
Description
Arranges child elements into a single line that can be oriented horizontally or vertically.
For a list of all members defined in this module, see MarkupStackPanel Members.
Object Model















Remarks
Elements are able to be "stacked" in a specified direction using a Stack Panel.
The Stack Panel Control is used to arrange child elements into a single line. You have the option to display the elements horizontally or vertically; the default is horizontally. By default, both the HorizontalAlignment and VerticalAlignment properties are set to stretch.
The Stack Panel uses logical scrolling to scroll to the next element that was added to the stack panel. Wrap the host Stack Panel in a ScrollViewer with the CanContentScroll property set to false to use physical scrolling instead of logical scrolling.
Example
Below is a very simple sample of how to use a stack panel to view a list of radio buttons vertically:
<StackPanel xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
<!-- Add your radio buttons here -->
</StackPanel>
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.