Skip to content

Thumb does not get shown in custom control #18394

Closed Answered by timunie
DemonExposer asked this question in Q&A
Discussion options

You must be logged in to vote

You need to add a ControlTemplate preferred via Style or ControlTheme. Check out existing ones from source if you have no idea how to. I believe Scrollbar is using one.

https://github.com/AvaloniaUI/Avalonia/blob/master/src%2FAvalonia.Themes.Fluent%2FControls%2FScrollBar.xaml#L21-L36

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DemonExposer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #18390 on March 07, 2025 10:11.