![]() Specifies the font size of the text in the header item. Specifies the font family of the text in the header item. Specifies the color of the text in the header item. Specifies the padding of the inner content of the header item. Specifies the corner radius of the header item. Specifies the border thickness of the header item. Specifies the border color of the header item. Specifies the background color of the header item. Through HeaderItemStyle property of the TabView the following styling properties can be applied to the TabViewHeaderItem: Property The available options are Horizontal and Vertical.įor a runnable example with the TabView HeaderStyle scenario, see the SDKBrowser Demo Application and go to TabView > Styling. Specifies the scroll orientation of the header area. Specifies whether the header area can be scrolled with pan gesture. Specifies the index of the currently selected item in the header area. Specifies the spacing in pixels between the header items in the header area. Specifies the padding of the inner content of the header area. ![]() Specifies the corner radius of the header area. Specifies the border thickness of the header area. Specifies the border color of the header area. Specifies the background color of the header area. The properties TabViewHeader provides are described in the table below: Property Through HeaderStyle property of the TabView you can modify the TabViewHeader. ContentStyle-Specifies the style of the entire content area (borders, background color etc.).HeaderItemStyle-Specifies the style of the individual header items (font, text color etc.).HeaderStyle-Specifies the style of the entire header area (border, background color etc.).In addition, TabView provides the listed below styling properties for modifying its elements - header, TabView items and content area. ContentPadding ( Thickness)-Specifies the padding of the inner content of the control.CornerRadius ( Thickness)-Specifies the corner radius of the control. ![]() BorderThickness ( Thickness)-Specifies the border thickness of the control.BorderColor ( Color)-Specifies the border color of the control.BackgroundColor ( Color)-Specifies the background color of the control.You can use any of the following TabView properties to change its look&feel: You can style different parts of the TabView-its header, items, and content area.Ĭheck the TabView Visual Structure topic for a visual representation of the TabView elements. NET MAUI TabView provides means for modifying its visual appearance so that it matches the style of the app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |