Table of Contents

Class AllPlatformDefaults

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains platform related default property values.

public static class AllPlatformDefaults
Inheritance
AllPlatformDefaults

Fields

PlatformAny

Defines default control property values for all the platforms. This is used if default property value for the current platform is not specified.

PlatformCurrent

Defines default control property values for the current platfrom.

PlatformLinux

Defines default control property values for Linux platfrom.

PlatformMacOs

Defines default control property values for macOs platfrom.

PlatformWindows

Defines default control property values for Windows platfrom.

Methods

GetAsThickness(ControlTypeId, ControlDefaultsId)

Returns default property value as Thickness for the control on the specific platform.

GetHasBorderOverride(ControlTypeId)

Gets "HasBorder" property override specific to platform and color theme.

GetPropValue(ControlTypeId, ControlDefaultsId)

Returns default property value for the control on the specific platform.

GetPropValue(PlatformDefaults, ControlTypeId, ControlDefaultsId)

Returns default property value for the control on the specific platform.