Migrating from Xamarin SfTabView to .NET MAUI SfTabView
21 May 20251 minute to read
To facilitate easier migration from Xamarin SfTabView to .NET MAUI SfTabView, we have retained most of the APIs from Xamarin SfTabView in MAUI SfTabView. However, to maintain API naming consistency, some APIs have been renamed. The following details the changes in APIs from Xamarin SfTabView to MAUI SfTabView.
Namespaces
Xamarin SfTabView | .NET MAUI SfTabView |
---|---|
Syncfusion.XForms.TabView | Syncfusion.Maui.TabView |
Properties
Xamarin SfTabView | .NET MAUI SfTabView | 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 SfTabView | .NET MAUI SfTabView | Description |
---|---|---|---|
TabWidthMode | BasedOnText, Default |
Default, SizeToContent |
Defines the width of each tab. |
Classes
Xamarin SfTabView | .NET MAUI SfTabView | 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.