syncfusion-maui-docklayout

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-docklayout

Arrange child elements by docking them to container edges.

  • Create docking layouts with elements at top, bottom, left, or right edges.
  • Depends on Syncfusion .NET MAUI SfDockLayout component.
  • Uses dock positioning properties and spacing settings to arrange children.
  • Generates XAML or C# code for the configured dock layout.

SKILL.md

.github/skills/syncfusion-maui-docklayoutView on GitHub ↗
---
name: syncfusion-maui-docklayout
description: Implements Syncfusion .NET MAUI DockLayout (SfDockLayout) for arranging and docking child elements in defined areas. Use this for creating docking layouts, positioning UI elements at edges (top/bottom/left/right), building dashboard layouts, or arranging multi-region interfaces. Covers dock positioning, edge positioning, and spacing between docked elements.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Implementing .NET MAUI DockLayout

Guide users to implement Syncfusion .NET MAUI DockLayout (SfDockLayout), a versatile layout control that enables developers to arrange and dock child elements to specific edges (top, bottom, left, right) or center, providing a robust framework for designing complex user interfaces in mobile and desktop applications.

## When to Use This Skill

Use this skill when users need to:
- **Create docking layouts** with elements positioned at specific edges
- **Build dashboard interfaces** with multiple regions (header, footer, sidebar, content)
- **Implement adaptive layouts** that respond to screen sizes and orientations
- **Position UI elements** at top, bottom, left, right, or center of a container
- **Configure spacing** between docked elements (horizontal and vertical)
- **Control last child expansion** to fill remaining space
- **Support Right-to-Left (RTL)** layouts for internationalization
- **Work with .NET MAUI** applications using Syncfusion components

## Component Overview

The **SfDockLayout** control provides:
- **Flexible Docking**: Dock children to Top, Bottom, Left, Right, or None (center)
- **Adaptive Layouts**: Automatically adapts to various screen sizes and orientations
- **Customizable Spacing**: Configure horizontal and vertical spacing between elements
- **Last Child Expansion**: Option to expand the last child to fill remaining space
- **RTL Support**: Full Right-to-Left layout support for internationalization
- **Programmatic Control**: GetDock() and SetDock() methods for runtime manipulation

## Documentation and Navigation Guide

### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)
- Installing Syncfusion.Maui.Core NuGet package
- Registering Syncfusion Core handler
- Creating and initializing SfDockLayout
- Setting basic dock positions for child elements
- Complete working example with all dock positions

### Docking Features
📄 **Read:** [references/docking-features.md](references/docking-features.md)
- Dock position options (Top, Bottom, Left, Right, None)
- Using Dock attached property in XAML
- Using Add() method with Dock parameter in C#
- GetDock() method to retrieve current position
- SetDock() method to change position programmatically
- Docking order and element layering

### Spacing and Layout
📄 **Read:** [references/spacing-layout.md](references/spacing-layout.md)
- HorizontalSpacing property for gaps between elements
- VerticalSpacing property for vertical gaps
- ShouldExpandLastChild property behavior
- Controlling last child expansion (true/false)
- Layout scenarios and best practices

### Advanced Features
📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
- Right-to-Left (RTL) layout support
- FlowDirection property configuration
- Adaptive layouts for different screen sizes
- Handling orientation changes
- Sample projects and resources

More from syncfusion/maui-ui-components-skills

SkillDescription
syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applications. Covers AccordionItem configuration, expand modes, and grouped content display.
syncfusion-maui-ai-assistviewImplements Syncfusion .NET MAUI AI AssistView (SfAIAssistView) for AI-powered interactive chat interfaces. Use when working with AI chat interfaces, AI AssistView, SfAIAssistView, conversational UI, or chat with AI responses. Covers integrating AI services, creating chat UIs, implementing conversation flows, managing AI requests/responses, and displaying AI suggestions.
syncfusion-maui-autocompleteImplements and configure Syncfusion .NET MAUI Autocomplete (SfAutocomplete) control for intelligent text input with suggestions. Use when implementing autocomplete, autosuggest, type-ahead search, smart search, or filtered dropdowns in .NET MAUI applications. Covers data binding, filtering modes, custom search logic, AI-powered search, multi-selection with tokens, and UI customization.
syncfusion-maui-avatar-viewImplements Syncfusion .NET MAUI Avatar View (SfAvatarView) for displaying user profile pictures, initials, or group avatars. Use when working with avatar views, profile pictures, user images, initials display, profile icons, or contact images. Ideal for implementing user profile displays, contact lists, chat interfaces, or social feeds.
syncfusion-maui-backdropImplements Syncfusion .NET MAUI Backdrop Page (SfBackdropPage) with back layer and front layer surfaces. Use when working with backdrop pages, SfBackdropPage, back layer, front layer, or reveal/conceal animations. Covers backdrop navigation patterns, header icons, corner shapes, reveal height, layer state events, and liquid glass effect.
syncfusion-maui-badge-viewImplements Syncfusion .NET MAUI Badge View (SfBadgeView) control. Use when adding badge notifications, status indicators, unread counts, or notification overlays to MAUI applications. Covers SfBadgeView setup, badge text customization, position adjustments, animations, predefined symbols, and accessibility features.
syncfusion-maui-barcode-generatorImplements Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator) for generating machine-readable barcodes. Use when working with barcodes, barcode generation, QR codes, data matrix, EAN codes, UPC codes, Code128, or Code39. This skill covers both one-dimensional (linear) and two-dimensional (matrix) barcode symbologies with extensive customization options.
syncfusion-maui-busy-indicatorImplements Syncfusion .NET MAUI Busy Indicator (SfBusyIndicator) for showing loading states, data processing, and app activity indicators. Use when displaying loading indicators, busy animations, activity spinners, or processing feedback in .NET MAUI apps. Covers busy indicator setup, animations, and visual feedback during long-running operations.
syncfusion-maui-buttonImplements and customize Syncfusion .NET MAUI Button (SfButton) control. Use when working with MAUI buttons, SfButton implementation, button customization, or visual states. Covers button icons, background images, RTL support, Liquid Glass effects, custom button views, button styling, events, and checkable buttons.
syncfusion-maui-calendarImplements and customize Syncfusion .NET MAUI Calendar (SfCalendar) control. Use when implementing calendar functionality, date selection (single, multiple, range), or calendar views (month, year, decade, century). Covers date restrictions (min/max dates, EnablePastDates, SelectableDayPredicate), calendar customization, events (ViewChanged, SelectionChanged, Tapped), and header/footer customization.