Enumeration
DSButtonRenderingType
public enum DSButtonRenderingType: String, CaseIterable
A type that defines the rendering font that a DSButton control should use.
A rendering type, 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)
Relationships
Conforms To
CaseIterable
String
Enumeration Cases
Properties
allEnterpriseCases
public static var allEnterpriseCases: [DSButtonRenderingType]
allAnatomyCases
public static var allAnatomyCases: [DSButtonRenderingType]
name
public var name: String
Returns an English name of the rendering font. Useful mostly for debugging.