Class RadDockLayout
A layout that position its children based on their Dock value relative to each other.
Inheritance
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadDockLayout : Layout, IRadDockLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding
Constructors
RadDockLayout()
Declaration
public RadDockLayout()
Fields
DockProperty
Implements the attached property that represents the dock position of a view.
Declaration
public static readonly BindableProperty DockProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
StretchLastChildProperty
Implements the bindable property that specify if the last visible child should take remaining space.
Declaration
public static readonly BindableProperty StretchLastChildProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
StretchLastChild
Gets or sets whether last visible child will be given the whole remaining space during layout.
Declaration
public bool StretchLastChild { get; set; }
Property Value
System.Boolean
|
Implements
Remarks
When true and RadDockLayout is given more size than needed the last visible child will be layout with the remaining size.
Methods
CreateLayoutManager()
Declaration
protected override ILayoutManager CreateLayoutManager()
Returns
Microsoft.Maui.Layouts.ILayoutManager
|
GetDock(BindableObject)
Gets dock value.
Declaration
public static Dock GetDock(BindableObject bindable)
Parameters
Microsoft.Maui.Controls.BindableObject
bindable
The bindable whose dock value is read. |
Returns
Dock
The current dock value. |
GetDock(IView)
Declaration
public Dock GetDock(IView view)
Parameters
Microsoft.Maui.IView
view
|
Returns
Dock
|
Implements
SetDock(BindableObject, Dock)
Sets the dock value.
Declaration
public static void SetDock(BindableObject bindable, Dock value)
Parameters
Microsoft.Maui.Controls.BindableObject
bindable
The bindable whose dock to change. |
Dock
value
The new dock value. |