Template:ElementSpec: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | |||
<noinclude> | |||
This template renders a standard layout for Maui Linux .NET element pages. | |||
Usage example: | |||
{{ElementSpec | |||
| title=Button | |||
| kind=Control | |||
| ms_url=https://learn.microsoft.com/dotnet/maui/user-interface/controls/button | |||
| introduced=MAUI 6.0 (.NET 6) | |||
| deprecated= | |||
| notes=Core click control. Prefer Border for styling over deprecated Frame. | |||
| props= | |||
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes | |||
| Text || ? || || | |||
| Command || ? || || | |||
| CommandParameter || ? || || | |||
| ImageSource || ? || || Requires GTK image loader | |||
| ContentLayout || ? || || | |||
| Padding || ? || || | |||
| Background || ? || || | |||
| TextColor || ? || || | |||
| FontSize || ? || || | |||
| FontAttributes || ? || || | |||
}} | |||
</noinclude><includeonly> | |||
<includeonly> | <includeonly> | ||
= {{{title}}} = | = {{{title}}} = | ||
| Line 12: | Line 37: | ||
; Deprecated | ; Deprecated | ||
: {{{deprecated|—}}} | |||
; Notes | ; Notes | ||
: {{{notes|—}}} | |||
== Properties == | == Properties == | ||
| Line 24: | Line 49: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Template usage: | |||
{{ElementSpec|title=Button|kind=Control|ms_url=https:// | |||
{{ElementSpec | |||
| title=Button | |||
| kind=Control | |||
| ms_url=https://learn.microsoft.com/dotnet/maui/user-interface/controls/button | |||
| introduced=MAUI 6.0 (.NET 6) | |||
| deprecated= | |||
| notes=Core click control. Prefer Border for styling (instead of deprecated Frame). | |||
| props= | |||
|- | |||
| Text || ? || || | | Text || ? || || | ||
|- | |||
| Command || ? || || | |||
|- | |||
| CommandParameter || ? || || | |||
|- | |||
| ImageSource || ? || || Requires GTK image loader | |||
|- | |||
| ContentLayout || ? || || | |||
|- | |||
| Padding || ? || || | |||
|- | |||
| Background || ? || || | |||
|- | |||
| TextColor || ? || || | |||
|- | |||
| FontSize || ? || || | |||
|- | |||
| FontAttributes || ? || || | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:18, 17 October 2025
Template usage:
Button
- Kind
- Control
- Microsoft Docs
- Button documentation on learn.microsoft.com
- Introduced
- MAUI 6.0 (.NET 6)
- Deprecated
- Notes
- Core click control. Prefer Border for styling (instead of deprecated Frame).
Properties
| Property | Implemented (Maui Linux) | Introduced in (MAUI/.NET) | Notes |
|---|