New to Telerik UI for .NET MAUI? Start a free 30-day trial

Content Alignment

The Button enables you to set the positioning of its content.

To define a specific position of the Button content, set the HorizontalContentAlignment and VerticalContentAlignment properties of the Button, which are of the Microsoft.Maui.TextAlignment type.

The following example demonstrates how to use the properties.

<telerik:RadButton Text="Click me!"  
                   BorderColor="#4488F6"
                   HorizontalContentAlignment="End"
                   VerticalContentAlignment="Start" />

The following image shows the end result.

Button Key Features Example

See Also

In this article
Not finding the help you need?