共用方式為


ComponentState.LogicalParentComponentState 屬性

定義

ComponentState取得邏輯父元件的 ,如果這是根元件,則為 null。

public Microsoft.AspNetCore.Components.Rendering.ComponentState? LogicalParentComponentState { get; }
member this.LogicalParentComponentState : Microsoft.AspNetCore.Components.Rendering.ComponentState
Public ReadOnly Property LogicalParentComponentState As ComponentState

屬性值

適用於