ShellSection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。
public ref class ShellSection : Microsoft::Maui::Controls::ShellGroupItem, Microsoft::Maui::Controls::IShellSectionController, Microsoft::Maui::IStackNavigation, Microsoft::Maui::IVisualTreeElement
[Microsoft.Maui.Controls.ContentProperty("Items")]
public class ShellSection : Microsoft.Maui.Controls.ShellGroupItem, Microsoft.Maui.Controls.IShellSectionController, Microsoft.Maui.IStackNavigation, Microsoft.Maui.IVisualTreeElement
[<Microsoft.Maui.Controls.ContentProperty("Items")>]
type ShellSection = class
inherit ShellGroupItem
interface IShellSectionController
interface IElementController
interface IVisualTreeElement
interface IStackNavigation
Public Class ShellSection
Inherits ShellGroupItem
Implements IShellSectionController, IStackNavigation, IVisualTreeElement
- 繼承
- 衍生
- 屬性
- 實作
建構函式
ShellSection() |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 |
欄位
CurrentItemProperty |
的 CurrentItemBindable 屬性。 |
ItemsProperty |
的 ItemsBindable 屬性。 |
屬性
AutomationId |
取得或設定值,允許自動化架構尋找此項目並與之互動。 (繼承來源 Element) |
BindingContext |
取得或設定 對象,這個物件包含屬於這個 BindableObject之系結屬性的目標屬性。 這是可繫結屬性。 (繼承來源 BindableObject) |
class |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 (繼承來源 NavigableElement) |
ClassId |
取得或設定值,用來識別語意類似項目的集合。 (繼承來源 Element) |
CurrentItem |
目前選取的 ShellContent。 |
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 |
已淘汰.
供 Microsoft.Maui.Controls 平台內部使用。 (繼承來源 Element) |
Navigation |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 (繼承來源 NavigableElement) |
NavigationProxy |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 (繼承來源 NavigableElement) |
Parent |
取得或設定這個專案的父 Element 代。 (繼承來源 Element) |
RealParent |
供 .NET MAUI 內部使用。 (繼承來源 Element) |
Route |
用於處理該項目的字串。 (繼承來源 BaseShellItem) |
Stack |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 |
Style |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 (繼承來源 NavigableElement) |
StyleClass |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 (繼承來源 NavigableElement) |
StyleId |
取得或設定使用者定義值來唯一識別項目。 (繼承來源 Element) |
Title |
要在 UI 中顯示的標題。 (繼承來源 BaseShellItem) |
Window |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 (繼承來源 BaseShellItem) |
方法
運算子
Implicit(ShellContent to ShellSection) |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 |
Implicit(TemplatedPage to ShellSection) |
殼層應用程式中的分組內容,可透過底端索引標籤瀏覽。 |
事件
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) |
明確介面實作
擴充方法
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應