Setting a toolTip
#12018
-
Hi, I'm new to mvvm and avalonia ui. Wanted to know how to set a tooltip in the c# codebehind? VideoPix2PtResultToolTip.SetToolTip(VideoImagePictureBox, $"{pix2PtAnswerStr}"); |
Beta Was this translation helpful? Give feedback.
Answered by
timunie
Jul 3, 2023
Replies: 2 comments 2 replies
-
In MVVM, you just can do: <Button Content="ToolTip" ToolTip.Tip="{Binding MyTooltip}" /> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AviadBly
-
Hi, you can add a Tooltip in code behind this way:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In MVVM, you just can do: