Provides a layout manager for uniform grid layouts that arranges child views in a grid with equally-sized cells. This class implements ILayoutManager to provide custom layout behavior for uniform grid scenarios.
Definition
Namespace:Telerik.Maui
Assembly:Telerik.Maui.Core.dll
Syntax:
public class RadUniformGridLayoutManager : ILayoutManager
Inheritance: objectRadUniformGridLayoutManager
Implements:
Constructors
Initializes a new instance of the RadUniformGridLayoutManager class with the specified layout.
public RadUniformGridLayoutManager(ILayout layout)
The ILayout that this manager will handle.
Properties
UniformGridLayout
ILayout
Gets the uniform grid layout that this manager handles.
public ILayout UniformGridLayout { get; }
The ILayout instance associated with this manager.
Methods
Arranges the child views within the specified bounds using a uniform grid pattern. Each child view is positioned in a grid cell with equal dimensions.
public Size ArrangeChildren(Rect bounds)
The Rect that defines the area for arranging child views.
Returns:Size
The actual Size used by the layout.
Measures the desired size of the layout within the specified constraints. This method calculates the optimal size for the uniform grid based on child view requirements.