Skip to content

SyncfusionExamples/how-to-center-align-the-header-text-in-.net-maui-expander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

how-to-center-align-the-header-text-in-.net-maui-expander

This example demonstrates about how to center align the header text in .NET MAUI Expander (SfExpander).

You can center align the text of the Expander Header in .NET MAUI SfExpander by using the HorizontalTextAlignment and VerticalTextAlignment properties.

XAML:

Set HorizontalTextAlignment and VerticalTextAlignment of the header label to Center.

{% tabs %} {% highlight xaml tabtitle="MainPage.xaml"%}

{% endhighlight %} {% endtabs %}

About

This example demonstrates about how to center align the header text in .NET MAUI Expander (SfExpander).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages