Compartilhar via


MenuItem.StyleClass Property

Definition

Sets the StyleClass of the generated FlyoutItem when used with Shell

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)

Property Value

Attributes

Applies to