共用方式為


Style.BasedOn 屬性

定義

這個 Style 所依據的 Style

public:
 property Microsoft::Maui::Controls::Style ^ BasedOn { Microsoft::Maui::Controls::Style ^ get(); void set(Microsoft::Maui::Controls::Style ^ value); };
public Microsoft.Maui.Controls.Style BasedOn { get; set; }
member this.BasedOn : Microsoft.Maui.Controls.Style with get, set
Public Property BasedOn As Style

屬性值

備註

支援 Style XAML 中的機制,類似于 C# 中的繼承。

適用於