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 || ?..."
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
<noinclude>
This template renders a standard layout for Maui Linux .NET element pages.
This template renders a standard layout for Maui Linux .NET element pages.
Line 23: Line 24:
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
<includeonly>
= {{{title}}} =
= {{{title}}} =


Line 35: Line 37:


; Deprecated
; Deprecated
: {{#if:{{{deprecated|}}}|{{{deprecated}}}|—}}
: {{{deprecated|}}}


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


== Properties ==
== Properties ==
Line 46: Line 48:
|}
|}
</includeonly>
</includeonly>
<noinclude>
Template usage:
{{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 || ? ||  ||
|-
| Command || ? ||  ||
|-
| CommandParameter || ? ||  ||
|-
| ImageSource || ? ||  || Requires GTK image loader
|-
| ContentLayout || ? ||  ||
|-
| Padding || ? ||  ||
|-
| Background || ? ||  ||
|-
| TextColor || ? ||  ||
|-
| FontSize || ? ||  ||
|-
| FontAttributes || ? ||  ||
}}
</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