NGridImageAlignment Constants Reference
| Declared in | NGridCellStyle.h |
|---|
NGridImageAlignment
NGrid cell image alignment options. Cell does not check collision of values, so if you specify both Top and Bottom, only Top will be used.
Definition
typedef NS_ENUM(NSInteger, NGridImageAlignment ) {
NImageVerticalAlignmentTop = 1,
NImageVerticalAlignmentBottom = 2,
NImageVerticalAlignmentCenter = 4,
NImageHorizontalAlignmentLeft = 8,
NImageHorizontalAlignmentRight = 16,
NImageHorizontalAlignmentCenter = 32,
NImageHorizontalAlignmentTextLeft = 64,
NImageHorizontalAlignmentTextRight = 128,
};
Constants
NImageVerticalAlignmentTop-
Align image along the top edge of the cell.
Declared In
NGridCellStyle.h. NImageVerticalAlignmentBottom-
Align image along the bottom edge of the cell.
Declared In
NGridCellStyle.h. NImageVerticalAlignmentCenter-
Align image along the vertical middle line of the cell.
Declared In
NGridCellStyle.h. NImageHorizontalAlignmentLeft-
Align image along the left edge of the cell.
Declared In
NGridCellStyle.h. NImageHorizontalAlignmentRight-
Align image along the right edge of the cell.
Declared In
NGridCellStyle.h. NImageHorizontalAlignmentCenter-
Align image along the horizontal middle line of the cell.
Declared In
NGridCellStyle.h. NImageHorizontalAlignmentTextLeft-
Align image along the left edge of the text in the cell.
Declared In
NGridCellStyle.h. NImageHorizontalAlignmentTextRight-
Align image along the right edge of the text in the cell.
Declared In
NGridCellStyle.h.
Declared In
NGridCellStyle.h