Template:ElementSpec: Difference between revisions

From Wiki Maui Linux NET
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
<includeonly>
= {{{title}}} =
; Kind
: {{{kind}}}
; Microsoft Docs
: [{{{ms_url}}} {{{title}}} documentation on learn.microsoft.com]
; Introduced
: {{{introduced}}}
; Deprecated
: {{#if:{{{deprecated|}}}|{{{deprecated}}}|—}}
; Notes
: {{#if:{{{notes|}}}|{{{notes}}}|—}}
== Properties ==
{| class="wikitable sortable"
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes
{{{props}}}
|}
</includeonly>
<noinclude>
<noinclude>
This template renders a standard layout for Maui Linux .NET element pages.
This is the ElementSpec template. Use it like:
Usage example:
{{ElementSpec|title=Button|kind=Control|ms_url=https://|introduced=MAUI 6.0 (.NET 6)|deprecated=|notes=|props=
{{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>
{{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=
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes
| Text || ? ||  ||  
| Text || ? ||  ||  
| Command || ? ||  ||
| CommandParameter || ? ||  ||
| ImageSource || ? ||  || Requires GTK image loader
| ContentLayout || ? ||  ||
| Padding || ? ||  ||
| Background || ? ||  ||
| TextColor || ? ||  ||
| FontSize || ? ||  ||
| FontAttributes || ? ||  ||
}}
}}
</noinclude>

Revision as of 15:03, 17 October 2025


This is the ElementSpec template. Use it like:

Button

Kind
Control
Microsoft Docs
Button documentation on learn.microsoft.com
Introduced
MAUI 6.0 (.NET 6)
Deprecated
{{#if:||—}}
Notes
{{#if:||—}}

Properties

Property Implemented (Maui Linux) Introduced in (MAUI/.NET) Notes Property Implemented (Maui Linux) Introduced in (MAUI/.NET) Notes