C# Markup Reference? Also Textbox #14823
-
Is there a document describing in detail C# equivalents for XAML? Much of the documentation is XAML only. E.g., here: "https://platform.uno/docs/articles/external/uno.themes/doc/material-controls-extensions.html" gives xaml for placing an Icon in a TextBox, but I can't figure out how to do it in C#. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
C# Markup sorrce generators automaticcaly generate one extension method per class containing attached properties. So you should have a .ControlExtensions(icon = ...) available to you. FOr info here: https://platform.uno/docs/articles/external/uno.extensions/doc/Overview/Markup/AttachedProperties.html You'll need to make sure you have the Markup version of the Toolkit package referenced where ControlExtensions is defined. cc @dansiegel @kazo0 |
Beta Was this translation helpful? Give feedback.
C# Markup sorrce generators automaticcaly generate one extension method per class containing attached properties. So you should have a .ControlExtensions(icon = ...) available to you.
FOr info here: https://platform.uno/docs/articles/external/uno.extensions/doc/Overview/Markup/AttachedProperties.html
You'll need to make sure you have the Markup version of the Toolkit package referenced where ControlExtensions is defined.
cc @dansiegel @kazo0