An open API service indexing awesome lists of open source software.

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.

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;

```