Template:ElementSpec: Difference between revisions

From Wiki Maui Linux NET
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
: {{#if:{{{deprecated|}}}|{{{deprecated}}}|—}}
: {{{deprecated|}}}


; Notes
; Notes
: {{#if:{{{notes|}}}|{{{notes}}}|—}}
: {{{notes|}}}


== Properties ==
== Properties ==
Line 24: Line 49:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
This is the ElementSpec template. Use it like:
Template usage:
{{ElementSpec|title=Button|kind=Control|ms_url=https://|introduced=MAUI 6.0 (.NET 6)|deprecated=|notes=|props=
 
! Property !! Implemented (Maui Linux) !! Introduced in (MAUI/.NET) !! Notes
{{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