Enumerations

The following enumerations are available globally.

  • Through the lifecycle of the cell, the cell can go through one of the 3 states, normal, highlighted, and selected. The cell starts in its default state, normal. When selectable is set to NO, each touch on the cell turns it to the highlighted state, and when the touch is released, it is returned to the normal state. When selectable is set to YES. Each touch on the cell that isn’t cancelled turns the cell to its selected state. Another touch on the cell changes it back to normal.

    See more

    Declaration

    Objective-C

    enum MDCCardCellState {}
  • The horizontal alignment of the image when in selectable mode (selectable is set to YES).

    See more

    Declaration

    Objective-C

    enum MDCCardCellHorizontalImageAlignment {}
  • The vertical alignment of the image when in selectable mode (selectable is set to YES).

    See more

    Declaration

    Objective-C

    enum MDCCardCellVerticalImageAlignment {}
  • The different possible ripple styles. The ripple can either be bound to the view or not.

    • MDCRippleStyleBounded: The ripple is bound to the view.
    • MDCRippleStyleUnbounded: The ripple is unbounded and ripples to the size of the smallest circle that covers the entire rectangular bounds, plus an additional 10 points.
    See more

    Declaration

    Objective-C

    enum MDCRippleStyle {}
  • Provides the current state of the ripple. The ripple is either in its normal state, or in the selected state where the ripple remains spread on the view.

    • MDCRippleStateNormal: The ripple isn’t currently presented.
    • MDCRippleStateHighlighted: The ripple is activated and shown.
    • MDCRippleStateSelected: The ripple is in the selected state.
    • MDCRippleStateDragged: The ripple is in the dragged state.
    See more

    Declaration

    Objective-C

    enum MDCRippleState {}