DataImageItem
public struct DataImageItem : DataItemImageComponent, CheckBinding, Equatable
An image item for DataTable
-
Type.
Declaration
Swift
public var type: DataItemType -
Mapping rule.
Declaration
Swift
public var binding: ObjectViewProperty.Image? -
Image for item.
Declaration
Swift
public var image: Image -
Tint color for image.
Declaration
Swift
public var tintColor: Color? -
Determines whether the cell is read-only or not for inline editing mode.
DataImageItemignores this property since it doesn’t support inline editing yet.Declaration
Swift
public var isReadonly: Bool? -
Public initializer for
DataImageItemDeclaration
Swift
public init(_ image: Image, _ tintColor: Color? = nil, _ binding: ObjectViewProperty.Image? = nil, isReadonly: Bool? = nil)Parameters
imageImage for item.
tintColorTint color for image.
bindingMapping rule.
isReadonlyWhether the cell is read-only or not in inline editing mode.
-
check equality
Declaration
Swift
public static func == (lhs: DataImageItem, rhs: DataImageItem) -> Bool