See Also: Style
public sealed class Style
XAML for Xamarin.Forms supports the following properties for the Style class:
A StaticResource markup extension that names the style on which this style is based.
A resource dictionary key that names a dynamic base style.
Markup for the behaviors that are associated with the style.
A list of setters containing Property and Value elements or attributes.
The name of the type that the style is intended for.
A list of triggers.
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168
The members of Xamarin.Forms.Style are listed below.
See Also: Object
|ApplyToDerivedTypes||Boolean. Gets or sets a Boolean value that controls whether the style should be applied to controls that are derived from the base type.|
|BasedOn||Style. The Style on which this Style is based.|
|BaseResourceKey||String. Gets or sets the key that identifies the Style on which this Style is based.|
|[read-only]||Behaviors||IList<Behavior>. Gets the list of Behavior objects that belong to this Style.|
|CanCascade||Boolean. Gets or sets a Boolean value that controls whether the style should cascade to controls that are children (in the visual hierarchy) of the parent type.|
|Class||String. Gets or sets the class for the style.|
|[read-only]||Setters||IList<Setter>. Gets the list of Setter objects that belong to this Style.|
|[read-only]||TargetType||Type. Gets the type of object that this style can describe. See Remarks.|
|[read-only]||Triggers||IList<TriggerBase>. Gets the list of Trigger objects that belong to this Style.|