https://github.com/syncfusionexamples/how-to-wrap-text-in-dotnet-maui-radibutton
This repository contains a sample demonstrating of wrap text in .NET MAUI RadiButton.
https://github.com/syncfusionexamples/how-to-wrap-text-in-dotnet-maui-radibutton
line-break-mode maui-radio-button radio-button radio-buttons radiobutton-linebreakmode
Last synced: 2 months ago
JSON representation
This repository contains a sample demonstrating of wrap text in .NET MAUI RadiButton.
- Host: GitHub
- URL: https://github.com/syncfusionexamples/how-to-wrap-text-in-dotnet-maui-radibutton
- Owner: SyncfusionExamples
- Created: 2024-06-11T10:10:07.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-06-27T05:37:58.000Z (11 months ago)
- Last Synced: 2025-02-08T20:47:49.133Z (4 months ago)
- Topics: line-break-mode, maui-radio-button, radio-button, radio-buttons, radiobutton-linebreakmode
- 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-RadiButton
This repository contains a sample demonstrating of wrapping text using LineBreakMode property in .NET MAUI RadiButton.## LineBreakMode support in .NET MAUI RadiButton (SfRadiButton)
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 SfRadiButton.
**XAML**
```
```
**C#**
```
SfRadioButton radioButton = new SfRadioButton();
radioButton.Text = "By clicking here, I state that I have read and understood the terms and conditions.";
radioButton.LineBreakMode = LineBreakMode.WordWrap;```