StyleSet
public struct StyleSet
Hold properties used to style a control.
-
Empty initializer
Declaration
Swift
public init() -
Initialize with dictionary of StylePropertyProtocols: Any
Declaration
Swift
public init<Property: StylePropertyProtocol>(properties: [Property: Any]) -
Sets and retrieves properties inside the StyleSet
Declaration
Swift
public subscript <T, Property: StylePropertyProtocol>(property: Property) -> T?
-
Convenience subscript using default implementation of StyleProperty for better type inference
Declaration
Swift
public subscript <T>(property: StyleProperty) -> T?
View on GitHub
Install in Dash
StyleSet Structure Reference