Migrating from Xamarin SfTabView to .NET MAUI SfTabView
8 Oct 20241 minute to read
To migrate easier from Xamarin SfTabView to .NET MAUI SfTabView, we kept most of the APIs from Xamarin SfTabView in MAUI SfTabView. However, to maintain the consistency of API naming in MAUI SfTabView, we renamed some of the APIs. The APIs that have been changed in MAUI SfTabView from Xamarin SfTabView are detailed as follows.
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.
- Scroll button background color.
- Scroll button foreground color.