TabBar 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class TabBar : Microsoft::Maui::Controls::ShellItem
public class TabBar : Microsoft.Maui.Controls.ShellItem
type TabBar = class
inherit ShellItem
Public Class TabBar
Inherits ShellItem
- 繼承
- 繼承
建構函式
| TabBar() |
欄位
| transientNamescope | (繼承來源 Element) |
屬性
| AutomationId |
取得或設定值,允許自動化架構尋找此項目並與之互動。 (繼承來源 Element) |
| BindingContext |
取得或設定 物件,其中包含屬於這個 BindableObject之系結屬性的目標屬性。 這是可繫結屬性。 (繼承來源 BindableObject) |
| class |
取得或設定 項目的樣式類別。 (繼承來源 NavigableElement) |
| ClassId |
取得或設定值,用來識別語意類似項目的集合。 (繼承來源 Element) |
| CurrentItem |
目前選取的 Tab 或 ShellSection。 (繼承來源 ShellItem) |
| Dispatcher |
取得建立這個可系結物件時可用的發送器,否則會嘗試尋找最接近的可用發送器(可能是視窗的/應用程式)。 (繼承來源 BindableObject) |
| EffectControlProvider |
供 .NET MAUI 內部使用。 (繼承來源 Element) |
| Effects |
取得或設定將在運行時間期間套用至項目的樣式和屬性。 (繼承來源 Element) |
| FlyoutDisplayOptions |
AsSingleItem (預設) 只會在飛出視窗中顯示此項目的標題。 AsMultipleItems 會為每個子系和 MenuItem 建立個別飛出視窗選項。 (繼承來源 ShellGroupItem) |
| FlyoutIcon |
要針對項目使用的圖示。 如果未設定這個屬性,它將轉而使用 Icon 屬性值。 (繼承來源 BaseShellItem) |
| FlyoutItemIsVisible | (繼承來源 BaseShellItem) |
| Handler |
取得或設定這個項目的相關處理程式。 (繼承來源 Element) |
| Icon |
定義要在不是飛出視窗的 Chrome 組件中顯示的圖示。 (繼承來源 BaseShellItem) |
| Id |
取得值,這個值可用來在應用程式執行期間唯一識別專案。 (繼承來源 Element) |
| IsChecked |
定義目前是否已在飛出視窗中強調顯示該項目。 (繼承來源 BaseShellItem) |
| IsEnabled |
定義是否可在 Chrome 中選取該項目。 (繼承來源 BaseShellItem) |
| IsVisible | (繼承來源 BaseShellItem) |
| Items |
由 |
| LogicalChildren |
已淘汰.
(繼承來源 Element)
|
| Navigation |
取得負責處理堆疊型瀏覽的物件。 (繼承來源 NavigableElement) |
| NavigationProxy |
取得的NavigationProxy轉換Navigation。 (繼承來源 NavigableElement) |
| Parent |
取得或設定這個專案的父 Element 代。 (繼承來源 Element) |
| RealParent |
供 .NET MAUI 內部使用。 (繼承來源 Element) |
| Route |
用於處理該項目的字串。 (繼承來源 BaseShellItem) |
| Style |
取得或設定這個項目的唯 Style 一 。 (繼承來源 NavigableElement) |
| StyleClass |
取得或設定 項目的樣式類別。 (繼承來源 NavigableElement) |
| StyleId |
取得或設定使用者定義值來唯一識別項目。 (繼承來源 Element) |
| Title |
要在 UI 中顯示的標題。 (繼承來源 BaseShellItem) |
| Window | (繼承來源 BaseShellItem) |
方法
事件
| Appearing | (繼承來源 BaseShellItem) |
| BindingContextChanged |
發生於 BindingContext 屬性的值變更時。 (繼承來源 BindableObject) |
| ChildAdded |
每當子專案加入至 項目時引發。 (繼承來源 Element) |
| ChildRemoved |
每當從專案中移除子項目時引發。 (繼承來源 Element) |
| DescendantAdded |
每當子專案加入至專案的子樹時引發。 (繼承來源 Element) |
| DescendantRemoved |
每當從專案子樹中移除子項目時引發。 (繼承來源 Element) |
| Disappearing | (繼承來源 BaseShellItem) |
| HandlerChanged |
每當元素的處理程式變更時引發。 (繼承來源 Element) |
| HandlerChanging |
每當元素的處理程序開始變更時引發。 (繼承來源 Element) |
| ParentChanged |
每當專案的父代變更時引發。 (繼承來源 Element) |
| ParentChanging |
每當元素開始變更時引發。 (繼承來源 Element) |
| PropertyChanged |
當屬性值變更時發生。 (繼承來源 BindableObject) |
| PropertyChanging |
屬性值正在變更時發生。 (繼承來源 BindableObject) |