Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syncfusionexamples/how-to-wrap-text-in-dotnet-maui-checkbox
This repository contains a sample demonstrating of wrap text in .NET MAUI CheckBox.
https://github.com/syncfusionexamples/how-to-wrap-text-in-dotnet-maui-checkbox
checkbox checkbox-linebreak checkbox-linebreakmode line-break line-break-mode maui-checkbox
Last synced: 6 days ago
JSON representation
This repository contains a sample demonstrating of wrap text in .NET MAUI CheckBox.
- Host: GitHub
- URL: https://github.com/syncfusionexamples/how-to-wrap-text-in-dotnet-maui-checkbox
- Owner: SyncfusionExamples
- Created: 2024-06-11T10:09:50.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-27T05:37:09.000Z (6 months ago)
- Last Synced: 2024-12-04T14:24:23.753Z (18 days ago)
- Topics: checkbox, checkbox-linebreak, checkbox-linebreakmode, line-break, line-break-mode, maui-checkbox
- Language: C#
- Homepage:
- Size: 213 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How-to-wrap-text-in-.NET-MAUI-CheckBox
This repository contains a sample demonstrating of wrapping text using LineBreakMode property in .NET MAUI CheckBox.## LineBreakMode support in .NET MAUI CheckBox (SfCheckBox)
The LineBreakMode Support feature enables flexible text truncation and wrapping options within user interface components, enhancing readability and presentation. It facilitates various modes like WordWrap, CharacterWrap, MiddleTruncation, etc., accommodating diverse layout requirements efficiently.The following code example illustrate how to set LineBreakMode in SfCheckBox.
**XAML**
```
```
**C#**
```
SfCheckBox sfCheckBox = new SfCheckBox();
sfCheckBox.Text = "By clicking here, I state that I have read and understood the terms and conditions.";
sfCheckBox.LineBreakMode = LineBreakMode.WordWrap;```