Hello,
What's measn in maui "customize a control" is it means give it a native property that don't exist in Maui control
Yes, you can set a native property that don't exist in MAUI control. You can refer to this document: Customize controls with handlers
say I want to change editor control to have scrollbars this possible?
Yes, you do not need to Customize controls, you can use ScrollView
wrap the Editor
like following code. I set WidthRequest="200"
and HeightRequest="50"
for testing.
<ScrollView WidthRequest="200" BackgroundColor="Red" HeightRequest="50" VerticalScrollBarVisibility="Always">
<Editor Text="this is a test text for long this is a test text for long this is a test text for long" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" ></Editor>
</ScrollView>
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.