Style Class
Definition
Class that contains triggers, setters, and behaviors that completely or partially define the appearance and behavior of a class of visual elements.
[Xamarin.Forms.ContentProperty("Setters")]
public sealed class Style
type Style = class
- Inheritance
-
Style
- Attributes
Constructors
Style(Type) |
Intitializes a new Style instance. |
Properties
ApplyToDerivedTypes |
Gets or sets a Boolean value that controls whether the style should be applied to controls that are derived from the base type. |
BasedOn | |
BaseResourceKey |
Gets or sets the key that identifies the Style on which this Style is based. |
Behaviors |
Gets the list of Behavior objects that belong to this Style. |
CanCascade |
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. |
Class |
Gets or sets the class for the style. |
Setters | |
TargetType |
Gets the type of object that this style can describe. See Remarks. |
Triggers |
Applies to
Feedback
Loading feedback...