ClassRadUniformGridLayoutManager
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
RadUniformGridLayoutManager(ILayout)
Initializes a new instance of the RadUniformGridLayoutManager class with the specified layout.
Declaration
public RadUniformGridLayoutManager(ILayout layout)
Parameters
layout
ILayout
The ILayout that this manager will handle.
Properties
UniformGridLayout
Gets the uniform grid layout that this manager handles.
Declaration
public ILayout UniformGridLayout { get; }
Property Value
ILayout
The ILayout instance associated with this manager.
Methods
ArrangeChildren(Rect)
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.
Declaration
public Size ArrangeChildren(Rect bounds)
Parameters
bounds
Rect
The Rect that defines the area for arranging child views.
Returns
Size
The actual Size used by the layout.
Measure(double, double)
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.