Style(Type) Constructor

Definition

Intitializes a new Style instance.

C#
public Style (Type targetType);

Parameters

targetType
Type

The type of view to which the style will be applied.

Applies to

Product Versions
.NET MAUI 8, 9