StackLayout Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the StackLayout class.
public StackLayout ();
Remarks
The following example shows the initialization of a new StackLayout and setting its orientation and children.
var stackLayout = new StackLayout {
Orientation = StackOrientation.Horizontal,
Children = {
firstChild,
secondChild,
thirdChild
}
};