Class StackLayout
Forms9Patch StackLayout.
Inheritance
Forms9Patch.BindableObject<StackLayout>
Forms9Patch.Element<StackLayout>
Forms9Patch.VisualElement<StackLayout>
Forms9Patch.View<StackLayout>
Forms9Patch.BaseLayout<StackLayout>
Forms9Patch.Layout<StackLayout>
StackLayout
Implements
Inherited Members
Xamarin.Forms.TemplatedView.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public class StackLayout : Layout<StackLayout>, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, INavigationProxy, IStyleSelectable, IAnimatable, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable, IGestureController, IGestureRecognizers, IPaddingElement, IControlTemplated, IDisposable, IViewController, IVisualElementController, IElementController, ILayout, IBackground, IShape, IElement, ILayout, ILayoutController, IViewContainer<View>, IElementConfiguration<StackLayout>
Constructors
StackLayout()
Initializes a new instance of the StackLayout class.
Declaration
public StackLayout()
Fields
OrientationProperty
Backing store for the Orientation property
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Type | Description |
---|---|
BindableProperty |
SpacingProperty
Backing store for the Spacing property
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
Orientation
Gets or sets the orientation of the stack.
Declaration
public StackOrientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
StackOrientation | The orientation. |
Spacing
Gets or sets the spacing between children.
Declaration
public double Spacing { get; set; }
Property Value
Type | Description |
---|---|
Double | The spacing. |
Methods
On<T>()
Marker interface for returning platform-specific configuration elements.
Declaration
public IPlatformElementConfiguration<T, StackLayout> On<T>()
where T : IConfigPlatform
Returns
Type | Description |
---|---|
IPlatformElementConfiguration<T, StackLayout> |
Type Parameters
Name | Description |
---|---|
T |