Share via


ShellAppearance Class

Definition

Stores the appearance values for a Shell, including colors for background, foreground, tab bar, and title.

public ref class ShellAppearance : Microsoft::Maui::Controls::IShellAppearanceElement
public class ShellAppearance : Microsoft.Maui.Controls.IShellAppearanceElement
type ShellAppearance = class
    interface IShellAppearanceElement
Public Class ShellAppearance
Implements IShellAppearanceElement
Inheritance
ShellAppearance
Implements

Properties

Name Description
BackgroundColor

Gets the background color of the Shell.

DisabledColor

Gets the color for disabled items in the Shell.

FlyoutBackdrop

Gets the backdrop brush for the Shell flyout.

FlyoutHeight
FlyoutWidth
ForegroundColor

Gets the foreground color of the Shell.

TabBarBackgroundColor

Gets the background color of the tab bar.

TabBarDisabledColor

Gets the color for disabled items in the tab bar.

TabBarForegroundColor

Gets the foreground color of the tab bar.

TabBarTitleColor

Gets the title color of the tab bar.

TabBarUnselectedColor

Gets the color for unselected items in the tab bar.

TitleColor

Gets the title color of the Shell.

UnselectedColor

Gets the color for unselected items in the Shell.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Ingest(Element)

Ingests appearance values from the specified element into this instance.

MakeComplete()

Marks the appearance as complete by filling any remaining null values.

Operators

Name Description
Equality(ShellAppearance, ShellAppearance)
Inequality(ShellAppearance, ShellAppearance)

Explicit Interface Implementations

Name Description
IShellAppearanceElement.EffectiveTabBarBackgroundColor
IShellAppearanceElement.EffectiveTabBarDisabledColor
IShellAppearanceElement.EffectiveTabBarForegroundColor
IShellAppearanceElement.EffectiveTabBarTitleColor
IShellAppearanceElement.EffectiveTabBarUnselectedColor

Applies to