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. DataImageItem ignores this property since it doesn’t support inline editing yet.

    Declaration

    Swift

    public var isReadonly: Bool?
  • Public initializer for DataImageItem

    Declaration

    Swift

    public init(_ image: Image, _ tintColor: Color? = nil, _ binding: ObjectViewProperty.Image? = nil, isReadonly: Bool? = nil)

    Parameters

    image

    Image for item.

    tintColor

    Tint color for image.

    binding

    Mapping rule.

    isReadonly

    Whether the cell is read-only or not in inline editing mode.

  • check equality

    Declaration

    Swift

    public static func == (lhs: DataImageItem, rhs: DataImageItem) -> Bool