Replies: 1 comment 2 replies
-
This is a override of indexer operator and negate operator. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just going through the Avalonia UI To Do App tutorial and following down some side links cam to this page:https://docs.avaloniaui.net/docs/concepts/templates/creating-data-templates-in-code
In that there's some C# code
[!TextBlock.TextProperty]
that I'm not sure what that syntax is? Wondered if it was some recent C# syntax I'd not seen/remembered. But hovering over it in VS shows the!
is an IndexerDescripter operator. Googling that didn't show anything obvious that explains the concept, just the reference pages. Though as this is a side-quest I didn't look too hard just yet and thought I'd ask if someone can point me at a doc page maybe?Beta Was this translation helpful? Give feedback.
All reactions