Sdílet prostřednictvím


NavigableElement.StyleClass Vlastnost

Definice

Získá nebo nastaví třídy stylu pro prvek.

public:
 property System::Collections::Generic::IList<System::String ^> ^ StyleClass { System::Collections::Generic::IList<System::String ^> ^ get(); void set(System::Collections::Generic::IList<System::String ^> ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ListStringTypeConverter))]
public System.Collections.Generic.IList<string> StyleClass { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ListStringTypeConverter))>]
member this.StyleClass : System.Collections.Generic.IList<string> with get, set
Public Property StyleClass As IList(Of String)

Hodnota vlastnosti

Atributy

Poznámky

Equiavalent to class.

Třídy stylů umožňují použití více stylů u ovládacího prvku, aniž by se uchýlily k dědičnosti stylu.

Platí pro