Template:ElementSpec: Difference between revisions

From Wiki Maui Linux NET
Jump to navigation Jump to search
Created page with "<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 || ?..."
 
Line 23: Line 23:
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
= {{{title}}} =
{{ElementSpec
 
| title=Button
; Kind
| kind=Control
: {{{kind}}}
| ms_url=https://learn.microsoft.com/dotnet/maui/user-interface/controls/button
 
| introduced=MAUI 6.0 (.NET 6)
; Microsoft Docs
| deprecated=
: [{{{ms_url}}} {{{title}}} documentation on learn.microsoft.com]
| notes=Core click control. Prefer '''Border''' for styling (instead of deprecated Frame).
 
| props=
; Introduced
: {{{introduced}}}
 
; Deprecated
: {{#if:{{{deprecated|}}}|{{{deprecated}}}|—}}
 
; Notes
: {{#if:{{{notes|}}}|{{{notes}}}|—}}
 
== Properties ==
{| class="wikitable sortable"
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes
{{{props}}}
| Text || ? ||  ||
|}
| Command || ? ||  ||
</includeonly>
| CommandParameter || ? ||  ||
| ImageSource || ? ||  || Requires GTK image loader
| ContentLayout || ? ||  ||
| Padding || ? ||  ||
| Background || ? ||  ||
| TextColor || ? ||  ||
| FontSize || ? ||  ||
| FontAttributes || ? ||  ||
}}

Revision as of 14:58, 17 October 2025

This template renders a standard layout for Maui Linux .NET element pages. Usage example:

Template loop detected: Template:ElementSpec