DSButtonImageLocationType

public enum DSButtonImageLocationType : String, CaseIterable

Type that defines the rendering font that a DSButton control should use.

A rendering font, when set, will affect the title and background color of the DSButton based on its state. It can be changed at any time and will reflect accurately.

let button = DSButton(renderingType: .primary)

button.imageLocation = .trailing

Static Accessors

  • Declaration

    Swift

    public static var allStrings: [String] { get }

Accessors

  • Returns an English name of the rendering font. Useful mostly for debugging.

    Declaration

    Swift

    public var name: String { get }