Xamarin.Forms.Style Class
Class that contains triggers, setters, and behaviors that completely or partially define the appearance and behavior of a class of visual elements.

See Also: Style Members

Syntax

[Xamarin.Forms.ContentProperty("Setters")]
public sealed class Style

Remarks

The Xamarin.Forms.Style class has the following XAML properties:

PropertyValue
BasedOn

A StaticResource markup extension that names the style on which this style is based.

BaseResourceKey

A resource dictionary key that names a dynamic base style.

Behaviors

Markup for the behaviors that are associated with the style.

Setters

A list of setters containing Property and Value elements or attributes.

TargetType

The name of the type that the style is intended for.

Triggers

A list of triggers.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0