Xamarin.Forms Guides | Samples

Xamarin.Forms.Device.Styles Class

Class that exposes device-specific styles as static fields.

See Also: Device+Styles

Syntax

public static class Device.Styles

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.Device.Styles are listed below.

See Also: Object

Public Fields

static readonly
BodyStyleStyle. The device-specific body style.
static readonly
BodyStyleKeyString. The key that identifies the device-specific Device+Styles.BodyStyle in the base resource.
static readonly
CaptionStyleStyle. The device-specific caption style.
static readonly
CaptionStyleKeyString. The key that identifies the device-specific Device+Styles.CaptionStyle in the base resource.
static readonly
ListItemDetailTextStyleStyle. The device-specific style for detail text in list items.
static readonly
ListItemDetailTextStyleKeyString. The key that identifies the device-specific Device+Styles.ListItemDetailTextStyle in the base resource.
static readonly
ListItemTextStyleStyle. The device-specific style for text in list items.
static readonly
ListItemTextStyleKeyString. The key that identifies the device-specific Device+Styles.ListItemTextStyle in the base resource.
static readonly
SubtitleStyleStyle. The device-specific subtitle style.
static readonly
SubtitleStyleKeyString. The key that identifies the device-specific Device+Styles.SubtitleStyle in the base resource.
static readonly
TitleStyleStyle. The device-specific title style.
static readonly
TitleStyleKeyString. The key that identifies the device-specific Device+Styles.TitleStyle in the base resource.