Udostępnij za pośrednictwem


NavigableElement.StyleClass Właściwość

Definicja

Pobiera lub ustawia klasy stylów dla elementu.

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)

Wartość właściwości

Atrybuty

Uwagi

Równoczasny do class.

Klasy stylów umożliwiają stosowanie wielu stylów do kontrolki bez uciekania się do dziedziczenia stylu.

Dotyczy