Skip to content
Discussion options

You must be logged in to vote

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JohnWimbish
Comment options

@francoistanguay
Comment options

Answer selected by JohnWimbish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants