Xamarin.Forms by Microsoft

<PackageReference Include="Xamarin.Forms" Version="4.4.0.991210-pre2" />

.NET API 1,173,616 bytes

 Style

public sealed class Style : IStyle
Class that contains triggers, setters, and behaviors that completely or partially define the appearance and behavior of a class of visual elements.
public bool ApplyToDerivedTypes { get; set; }

Gets or sets a Boolean value that controls whether the style should be applied to controls that are derived from the base type.

public Style BasedOn { get; set; }

The Style on which this Style is based.

public string BaseResourceKey { get; set; }

Gets or sets the key that identifies the Style on which this Style is based.

public IList<Behavior> Behaviors { get; }

Gets the list of Behavior objects that belong to this Style.

public bool CanCascade { get; set; }

Gets or sets a Boolean value that controls whether, when applying an explicit style to a control, an implicit style that targets the same control should also be applied.

public string Class { get; set; }

Gets or sets the class for the style.

public IList<Setter> Setters { get; }

Gets the list of Setter objects that belong to this Style.

public Type TargetType { get; }

Gets the type of object that this style can describe. See Remarks.

public IList<TriggerBase> Triggers { get; }

Gets the list of Trigger objects that belong to this Style.

public Style(Type targetType)