Tab クラス

定義

public ref class Tab : Microsoft::Maui::Controls::ShellSection
public class Tab : Microsoft.Maui.Controls.ShellSection
type Tab = class
    inherit ShellSection
Public Class Tab
Inherits ShellSection
継承

コンストラクター

Tab()

プロパティ

AutomationId

自動化フレームワークがこの要素を見つけ、対話することを可能にする値を取得または設定します。

(継承元 Element)
BindingContext

この BindableObjectに属するバインドされたプロパティの対象となるプロパティを含むオブジェクトを取得または設定します。 これはバインド可能なプロパティです。

(継承元 BindableObject)
class (継承元 NavigableElement)
ClassId

意味的に同類の要素の集合を識別するために使用される値を取得または設定します。

(継承元 Element)
CurrentItem

現在選択されている ShellContent

(継承元 ShellSection)
Dispatcher

このバインド可能なオブジェクトが作成されたときに使用可能だったディスパッチャーを取得します。それ以外の場合は、使用可能な最も近いディスパッチャー (おそらくウィンドウ/アプリ) を検索しようとします。

(継承元 BindableObject)
EffectControlProvider

.NET MAUI による内部使用の場合。

(継承元 Element)
Effects

実行時に要素に適用されるスタイルとプロパティを取得または設定します。

(継承元 Element)
FlyoutDisplayOptions

AsSingleItem (既定値) では、この項目のタイトルのみがポップアップに表示されます。 AsMultipleItems では、それぞれの子と MenuItem に対して別々のポップアップ オプションが作成されます。

(継承元 ShellGroupItem)
FlyoutIcon

その項目に使用するアイコン。 このプロパティが設定されていない場合は、代わりに Icon プロパティ値が使われます。

(継承元 BaseShellItem)
FlyoutItemIsVisible (継承元 BaseShellItem)
Handler

この要素の関連付けられたハンドラーを取得または設定します。

(継承元 Element)
Icon

ポップアップではないクロムのパーツに表示するアイコンを定義します。

(継承元 BaseShellItem)
Id

アプリケーションの実行中に要素を一意に識別するために使用できる値を取得します。

(継承元 Element)
IsChecked

ポップアップで現在項目を強調表示するかどうかを定義します。

(継承元 BaseShellItem)
IsEnabled

クロム内の項目を選択できるかどうかを定義します。

(継承元 BaseShellItem)
IsVisible (継承元 BaseShellItem)
Items

によって管理されるthisShellSectionオブジェクトのShellContentコレクション。

(継承元 ShellSection)
LogicalChildren
古い.

Microsoft.Maui.Controls プラットフォームによる内部使用。

(継承元 Element)
Navigation (継承元 NavigableElement)
NavigationProxy (継承元 NavigableElement)
Parent

この要素の親 Element を取得または設定します。

(継承元 Element)
RealParent

.NET MAUI による内部使用の場合。

(継承元 Element)
Route

項目を処理するために使う文字列。

(継承元 BaseShellItem)
Stack (継承元 ShellSection)
Style (継承元 NavigableElement)
StyleClass (継承元 NavigableElement)
StyleId

要素を一意に識別するユーザー定義の値を取得または設定します。

(継承元 Element)
Title

UI に表示するタイトル。

(継承元 BaseShellItem)
Window (継承元 BaseShellItem)

メソッド

AddLogicalChild(Element)

論理子に を Element 追加します。

(継承元 Element)
ApplyBindings()

現在のすべてのバインディングを に BindingContext適用します。

(継承元 BindableObject)
ClearLogicalChildren()

すべての子 Elementを削除します。

(継承元 Element)
ClearValue(BindableProperty)

バインド可能なプロパティに対して以前に設定された値をクリアします。

(継承元 BindableObject)
ClearValue(BindablePropertyKey)

バインド可能なプロパティに対して以前に設定された値をクリアします。その値は、そのキーによって識別されます。

(継承元 BindableObject)
CoerceValue(BindableProperty)

指定したバインド可能なプロパティの値を強制します。 これは、指定されたバインド可能なプロパティを BindableProperty.CoerceValueDelegate 呼び出すことによって行われます。

(継承元 BindableObject)
CoerceValue(BindablePropertyKey)

指定したバインド可能なプロパティの値を強制します。 これは、指定されたバインド可能なプロパティを BindableProperty.CoerceValueDelegate 呼び出すことによって行われます。

(継承元 BindableObject)
EffectIsAttached(String)

.NET MAUI による内部使用の場合。

(継承元 Element)
FindByName(String)

指定した名前を持つ要素を返します。

(継承元 Element)
GetNavigationStack() (継承元 ShellSection)
GetValue(BindableProperty)

指定されたバインド可能なプロパティに含まれる値を返します。

(継承元 BindableObject)
InsertLogicalChild(Int32, Element)

指定した Element インデックス位置の論理子に を挿入します。

(継承元 Element)
IsSet(BindableProperty)

バインド可能なプロパティが存在し、値が設定されているかどうかを判断します。

(継承元 BindableObject)
OnAppearing() (継承元 BaseShellItem)
OnBindingContextChanged() (継承元 ShellSection)
OnChildAdded(Element) (継承元 ShellSection)
OnChildRemoved(Element, Int32) (継承元 ShellSection)
OnDisappearing() (継承元 BaseShellItem)
OnHandlerChanged()

派生クラスでオーバーライドされた場合は、 イベントを HandlerChanged 発生させる必要があります。

(継承元 Element)
OnHandlerChanging(HandlerChangingEventArgs)

派生クラスでオーバーライドされた場合は、 イベントを HandlerChanging 発生させる必要があります。

(継承元 Element)
OnInsertPageBefore(Page, Page) (継承元 ShellSection)
OnParentChanged()

派生クラスでオーバーライドされた場合は、 イベントを ParentChanged 発生させる必要があります。

(継承元 Element)
OnParentChanging(ParentChangingEventArgs)

派生クラスでオーバーライドされた場合は、 イベントを ParentChanging 発生させる必要があります。

(継承元 Element)
OnParentSet() (継承元 ShellSection)
OnPopAsync(Boolean) (継承元 ShellSection)
OnPopToRootAsync(Boolean) (継承元 ShellSection)
OnPropertyChanged(String) (継承元 BaseShellItem)
OnPropertyChanging(String)

PropertyChanging イベントを発生させます。

(継承元 BindableObject)
OnPushAsync(Page, Boolean) (継承元 ShellSection)
OnRemovePage(Page) (継承元 ShellSection)
RemoveBinding(BindableProperty)

バインド可能なプロパティから、以前に設定したバインドを削除します。

(継承元 BindableObject)
RemoveDynamicResource(BindableProperty)

以前に設定された動的リソースを削除します。

(継承元 Element)
RemoveLogicalChild(Element)

論理子から特定 Element の の最初の出現箇所を削除します。

(継承元 Element)
SetBinding(BindableProperty, BindingBase)

バインド可能なプロパティにバインドを割り当てます。

(継承元 BindableObject)
SetDynamicResource(BindableProperty, String)

指定したキーを BindableProperty 使用して DynamicResource を使用して更新する、この要素の プロパティを設定します。

(継承元 Element)
SetValue(BindableProperty, Object)

指定したバインド可能なプロパティの値を設定します。

(継承元 BindableObject)
SetValue(BindablePropertyKey, Object)

指定したバインド可能なプロパティの値を設定します。

(継承元 BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Microsoft.Maui.Controls プラットフォームによる内部使用。

(継承元 BindableObject)
SetValueFromRenderer(BindableProperty, Object)

.NET MAUI による内部使用の場合。

(継承元 Element)
SetValueFromRenderer(BindablePropertyKey, Object)

.NET MAUI による内部使用の場合。

(継承元 Element)
UnapplyBindings()

現在のコンテキストから現在のすべてのバインドを削除します。

(継承元 BindableObject)

イベント

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)

明示的なインターフェイスの実装

IContextFlyoutElement.ContextFlyout

ビューの を ContextFlyout 取得します。 メニュー ポップアップ、メニュー ポップアップ サブ項目、およびメニュー ポップアップ区切り記号をコンテキスト ポップアップに追加できます。

(継承元 Element)
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) (継承元 BindableObject)
IEffectControlProvider.RegisterEffect(Effect) (継承元 Element)
IElement.Parent

要素の親を取得します。

(継承元 Element)
IElementController.Descendants()

.NET MAUI による内部使用の場合。

(継承元 Element)
IElementController.LogicalChildren

.NET MAUI による内部使用の場合。

(継承元 Element)
IElementController.SetValueFromRenderer(BindableProperty, Object)

.NET MAUI による内部使用の場合。

(継承元 Element)
INameScope.RegisterName(String, Object)

.NET MAUI による内部使用の場合。

(継承元 Element)
INameScope.UnregisterName(String)

.NET MAUI による内部使用の場合。

(継承元 Element)
IShellSectionController.AddContentInsetObserver(IShellContentInsetObserver) (継承元 ShellSection)
IShellSectionController.AddDisplayedPageObserver(Object, Action<Page>) (継承元 ShellSection)
IShellSectionController.GetItems() (継承元 ShellSection)
IShellSectionController.ItemsCollectionChanged (継承元 ShellSection)
IShellSectionController.NavigationRequested (継承元 ShellSection)
IShellSectionController.PresentedPage (継承元 ShellSection)
IShellSectionController.RemoveContentInsetObserver(IShellContentInsetObserver) (継承元 ShellSection)
IShellSectionController.RemoveDisplayedPageObserver(Object) (継承元 ShellSection)
IShellSectionController.SendInsetChanged(Thickness, Double) (継承元 ShellSection)
IShellSectionController.SendPopped()
古い.
(継承元 ShellSection)
IShellSectionController.SendPopped(Page)
古い.
(継承元 ShellSection)
IShellSectionController.SendPopping(Page)
古い.
(継承元 ShellSection)
IShellSectionController.SendPopping(Task) (継承元 ShellSection)
IShellSectionController.SendPoppingToRoot(Task) (継承元 ShellSection)
IStackNavigation.NavigationFinished(IReadOnlyList<IView>) (継承元 ShellSection)
IStackNavigation.RequestNavigation(NavigationRequest) (継承元 ShellSection)
IToolTipElement.ToolTip

ユーザーがビューにポインターを置いたときに、ビューの目的の簡単な説明を表示する小さな四角形のポップアップ ウィンドウを表します。

(継承元 Element)
IVisualTreeElement.GetVisualChildren() (継承元 ShellSection)
IVisualTreeElement.GetVisualParent()

要素のビジュアルの親を取得します。

(継承元 Element)

拡張メソッド

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)
SetAppTheme<T>(BindableObject, BindableProperty, T, T)
SetAppThemeColor(BindableObject, BindableProperty, Color, Color)
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

プロパティにバインドを作成し、適用します。

FindByName<T>(Element, String)
ToHandler(IElement, IMauiContext)
ToPlatform(IElement, IMauiContext)
GetVisualElementWindow(IVisualTreeElement)

要素が 1 つ内に含まれている場合は、Visual Tree 要素を含む Window を取得します。

GetVisualTreeDescendants(IVisualTreeElement)

指定された Visual Tree 要素の子の一覧として、子孫の階層全体を取得します。

GetVisualTreeElements(IVisualTreeElement, Point)

指定した Point に基づく Visual Tree 要素の子の一覧を取得します。

GetVisualTreeElements(IVisualTreeElement, Rect)

四角形に基づくビジュアル ツリー要素の子の一覧を取得します。

GetVisualTreeElements(IVisualTreeElement, Double, Double)

指定された x、y ポイントに基づく Visual Tree Elements の子の一覧を取得します。

GetVisualTreeElements(IVisualTreeElement, Double, Double, Double, Double)

ピクセルではなくプラットフォーム単位で指定された座標で定義された四角形に基づいて、Visual Tree Elements の子の一覧を取得します。

適用対象