Skip to content
Discussion options

You must be logged in to vote

Great question — and the answer was split between the two controls, but it's now consistent on master:

MultilineEditControl — already supported. Set the track and thumb colors via the builder or the properties:

Controls.MultilineEdit()
    .WithScrollbarColors(trackColor: Color.Grey23, thumbColor: Color.Cyan1)
    .Build();

// or directly (raises INPC, so it plays nicely with binding):
editControl.ScrollbarColor = Color.Grey23;       // track
editControl.ScrollbarThumbColor = Color.Cyan1;   // thumb

ScrollablePanelControl — you weren't missing anything; it genuinely had no option. Its scrollbar colors were hardcoded. I've just added the matching API (commit 4a1a880, on master) so the two…

Replies: 33 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nickprotop
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
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
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
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
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
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
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
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
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
Comment options

You must be logged in to vote
0 replies
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
None yet
2 participants