Share via


CascadingValue<TValue>.IsFixed 屬性

定義

如果為 true,表示 Value 不會變更。 這是一種效能優化,可讓架構略過設定變更通知。 只有在元件存留期期間不會變更 Value 時,才設定此旗標。

public:
 property bool IsFixed { bool get(); void set(bool value); };
[Microsoft.AspNetCore.Components.Parameter]
public bool IsFixed { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.IsFixed : bool with get, set
Public Property IsFixed As Boolean

屬性值

屬性

適用於