Migrating from Xamarin Tab View to .NET MAUI Tab View
18 Nov 20181 minute to read
To facilitate easier migration from Xamarin Tab View to .NET MAUI Tab View, we have retained most of the APIs from Xamarin Tab View in .NET MAUI Tab View. However, to maintain API naming consistency, some APIs have been renamed. The following details the changes in APIs from Xamarin Tab View to .NET MAUI Tab View.
Namespaces
| Xamarin Tab View | .NET MAUI Tab View |
|---|---|
| Syncfusion.XForms.TabView | Syncfusion.Maui.TabView |
Properties
| Xamarin Tab View | .NET MAUI Tab View | Description |
|---|---|---|
| Gets or sets a brush that describes the selection indicator's background. | ||
| Gets or sets the placement of the selection indicator. | ||
| Gets or sets a brush that describes the tab header's background. | ||
| Gets or sets the height of the tab header. | ||
| Gets or sets whether the tab header should be at the bottom or at the top of the tab content. | ||
| Gets or sets the value that defines the font attributes of the tab header. | ||
| Gets or sets the value that defines the font family of the header. | ||
| Gets or sets the value that defines the font size of the tab header. | ||
| Gets or sets the value that defines the text color of the tab header. | ||
| Gets or sets the text for the tab header. | ||
| Gets or sets the template that is used to display the header. |
Enums
| Enum | Xamarin Tab View | .NET MAUI Tab View | Description |
|---|---|---|---|
| TabWidthMode | BasedOnText, Default |
Default, SizeToContent |
Defines the width of each tab. |
Classes
| Xamarin Tab View | .NET MAUI Tab View | Description |
|---|---|---|
| Describes the possible values for the position of header layout in SfTabView control. | ||
| Describes the possible values for selection indicator placement. | ||
| This class serves as an event data for the SelectionChanged event. |
Upcoming features
- Center button support.
- Drop-down mode.
- Visible header count.