NGridCellStyle Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCoding NSCopying |
Declared in | NGridCellStyle.h |
backgroundColor
Background color of the cell.
@property (nonatomic, retain) UIColor *backgroundColor
Declared In
NGridCellStyle.h
highlightBackgroundColor
Background color of cell for highlighted cells.
@property (nonatomic, retain) UIColor *highlightBackgroundColor
Declared In
NGridCellStyle.h
touchHighlightColor
Background of the cell that is touched.
@property (nonatomic, retain) UIColor *touchHighlightColor
Declared In
NGridCellStyle.h
expanderImageAlignment
Alignment of the expander image. Used in expandable cells.
@property (nonatomic, assign) NGridImageAlignment expanderImageAlignment
Declared In
NGridCellStyle.h
topPadding
Top padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat topPadding
Declared In
NGridCellStyle.h
bottomPadding
Bottom padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat bottomPadding
Declared In
NGridCellStyle.h
leftPadding
Left padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat leftPadding
Declared In
NGridCellStyle.h
rightPadding
Right padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat rightPadding
Declared In
NGridCellStyle.h
expandedImage
Expander image for the expanded state. Used in expandable cells.
@property (nonatomic, retain) UIImage *expandedImage
Declared In
NGridCellStyle.h
collapsedImage
Expander image for the collapsed state. Used in expandable cells.
@property (nonatomic, retain) UIImage *collapsedImage
Declared In
NGridCellStyle.h
collapsedRTLImage
Expander image for the collapsed state in right-to-left mode. Used in expandable cells.
@property (nonatomic, retain) UIImage *collapsedRTLImage
Declared In
NGridCellStyle.h
expanderImageMargin
Margins of the expander image in pixels. Used in expandable cells.
@property (nonatomic, assign) CGFloat expanderImageMargin
Declared In
NGridCellStyle.h
borderWidth
Common border width in pixels. Setting up this property overrides previously set left, right, top and bottom border widths.
@property (nonatomic, assign) CGFloat borderWidth
Declared In
NGridCellStyle.h
leftBorderWidth
Width of the left border in pixels.
@property (nonatomic, assign) CGFloat leftBorderWidth
Declared In
NGridCellStyle.h
rightBorderWidth
Width of the right border in pixels.
@property (nonatomic, assign) CGFloat rightBorderWidth
Declared In
NGridCellStyle.h
topBorderWidth
Width of the top border in pixels.
@property (nonatomic, assign) CGFloat topBorderWidth
Declared In
NGridCellStyle.h
bottomBorderWidth
Width of the bottom border in pixels.
@property (nonatomic, assign) CGFloat bottomBorderWidth
Declared In
NGridCellStyle.h
leftBorderColor
Color of the left border.
@property (nonatomic, retain) UIColor *leftBorderColor
Declared In
NGridCellStyle.h
rightBorderColor
Color of the right border.
@property (nonatomic, retain) UIColor *rightBorderColor
Declared In
NGridCellStyle.h
topBorderColor
Color of the top border.
@property (nonatomic, retain) UIColor *topBorderColor
Declared In
NGridCellStyle.h
bottomBorderColor
Color of the bottom border.
@property (nonatomic, retain) UIColor *bottomBorderColor
Declared In
NGridCellStyle.h
leftBorderDash
Property to store dash pattern for the left border. Expects array of NSNumber values for black and white part lengths.
@property (nonatomic, retain) NSArray *leftBorderDash
Declared In
NGridCellStyle.h
rightBorderDash
Property to store dash patter for the right border. Expects array of NSNumber values for black and white part lengths.
@property (nonatomic, retain) NSArray *rightBorderDash
Declared In
NGridCellStyle.h
topBorderDash
Property to store dash patter for the top border. Expects array of NSNumber values for black and white part lengths.
@property (nonatomic, retain) NSArray *topBorderDash
Declared In
NGridCellStyle.h
bottomBorderDash
Property to store dash patter for the bottom border. Expects array of NSNumber values for black and white part lengths.
@property (nonatomic, retain) NSArray *bottomBorderDash
Declared In
NGridCellStyle.h
highlightFont
Font of the cell text for highlighted cells.
@property (nonatomic, retain) UIFont *highlightFont
Declared In
NGridCellStyle.h
textColor
Color of the cell text.
@property (nonatomic, retain) UIColor *textColor
Declared In
NGridCellStyle.h
highlightTextColor
Color of the cell text for highlighted cells.
@property (nonatomic, retain) UIColor *highlightTextColor
Declared In
NGridCellStyle.h
textAlignment
Alignment of the cell text.
@property (nonatomic, assign) NSTextAlignment textAlignment
Declared In
NGridCellStyle.h
lineBreakMode
Line break mode of the cell text.
@property (nonatomic, assign) NSLineBreakMode lineBreakMode
Declared In
NGridCellStyle.h
indent
Indent level of the cell text. In right-to-left mode - indent from the right border, otherwise - from the left border.
@property (nonatomic, assign) NSInteger indent
Declared In
NGridCellStyle.h
indentSize
Indent size in pixels.
@property (nonatomic, assign) CGFloat indentSize
Declared In
NGridCellStyle.h
backgroundColorInterchange
A Boolean value that determines whether the cell background should be different for even and odd rows.
@property (nonatomic, assign) BOOL backgroundColorInterchange
Discussion
If property set to YES then each odd rows will have first color as background color, and each even - second color.
Declared In
NGridCellStyle.h
firstInterchangedColor
Background color for the odd rows. Used in color interchange mode.
@property (nonatomic, retain) UIColor *firstInterchangedColor
Declared In
NGridCellStyle.h
secondInterchangedColor
Background color for the even rows. Used in color interchange mode.
@property (nonatomic, retain) UIColor *secondInterchangedColor
Declared In
NGridCellStyle.h
imageAlignment
Image alignment of the image used for conditional formatting.
@property (nonatomic, assign) NGridImageAlignment imageAlignment
Declared In
NGridCellStyle.h
imageZOrder
Image z order of the image used for conditional formatting.
@property (nonatomic, assign) NGridImageZOrder imageZOrder
Declared In
NGridCellStyle.h
styleName
Name of the style.
@property (nonatomic, retain) NSString *styleName
Declared In
NGridCellStyle.h
boldForParent
A Boolean value that determines whether the cell text should be bold if cell has children.
@property (nonatomic, assign) BOOL boldForParent
Declared In
NGridCellStyle.h
clickableCellBackgroundBrush
Brush to draw the background of the touched cell.
@property (nonatomic, retain) NGridBrush *clickableCellBackgroundBrush
Declared In
NGridCellStyle.h
backgroundBrush
Brush to draw the background of the cell.
@property (nonatomic, retain) NGridBrush *backgroundBrush
Declared In
NGridCellStyle.h
growthIndicatorType
Type of the growth indicator.
@property (nonatomic, assign) NGridGrowthIndicatorType growthIndicatorType
Declared In
NGridCellStyle.h
growthIndicatorImageLess
Image containing “less” sign for the growth indicator.
@property (nonatomic, retain) UIImage *growthIndicatorImageLess
Declared In
NGridCellStyle.h
growthIndicatorImageGreater
Image containing “greater” sign for the growth indicator.
@property (nonatomic, retain) UIImage *growthIndicatorImageGreater
Declared In
NGridCellStyle.h
conditionalFormattingSettings
Settings of the conditional formatting.
@property (nonatomic, retain) NSObject<NGridConditionalFormattingSettingsProtocol> *conditionalFormattingSettings
Declared In
NGridCellStyle.h
sparklineLineColor
Color of the sparkline line.
@property (nonatomic, retain) UIColor *sparklineLineColor
Declared In
NGridCellStyle.h
sparklineTopColor
Color of the marker indicating maximal value on the sparkline.
@property (nonatomic, retain) UIColor *sparklineTopColor
Declared In
NGridCellStyle.h
sparklineBottomColor
Color of the marker indicating minimal value on the sparkline.
@property (nonatomic, retain) UIColor *sparklineBottomColor
Declared In
NGridCellStyle.h
sparklineBackgroundColor
Background color of the sparkline.
@property (nonatomic, retain) UIColor *sparklineBackgroundColor
Declared In
NGridCellStyle.h
sparklineBackgroundBrush
Background brush of the sparkline.
@property (nonatomic, retain) NGridBrush *sparklineBackgroundBrush
Declared In
NGridCellStyle.h
stringAttributes
Attributes of the cell text.
@property (nonatomic, retain) NSDictionary *stringAttributes
Declared In
NGridCellStyle.h
highlightedStringAttributes
Attributes of the highlighted cell text.
@property (nonatomic, retain) NSDictionary *highlightedStringAttributes
Declared In
NGridCellStyle.h
+ defaultStyle
Creates default style. Default style contains default settings and may be used as simple base of custom styles.
+ (NGridCellStyle *)defaultStyle
Declared In
NGridCellStyle.h
– setBorderColor:
Sets border color for all borders.
- (void)setBorderColor:(UIColor *)color
Parameters
color |
New border color. |
---|
Declared In
NGridCellStyle.h
– mergeWith:
Merges current style with another one. All settings merge conflicts are resolved by overriding value from current style by value from given style.
- (void)mergeWith:(NGridCellStyle *)style
Parameters
style |
Style to merge with. |
---|
Declared In
NGridCellStyle.h
– removeBackgroundColor
Removes cell background color setting.
- (void)removeBackgroundColor
Declared In
NGridCellStyle.h
– removeHighlightBackgroundColor
Removes highlighted cell background color setting.
- (void)removeHighlightBackgroundColor
Declared In
NGridCellStyle.h
– removeTouchHighlightColor
Removes touched cell background color setting.
- (void)removeTouchHighlightColor
Declared In
NGridCellStyle.h
– removeExpanderImageAlignment
Removes expander image alignment setting.
- (void)removeExpanderImageAlignment
Declared In
NGridCellStyle.h
– removeTopPadding
Removes cell content top padding setting.
- (void)removeTopPadding
Declared In
NGridCellStyle.h
– removeBottomPadding
Removes cell content bottom padding setting.
- (void)removeBottomPadding
Declared In
NGridCellStyle.h
– removeLeftPadding
Removes cell content left padding setting.
- (void)removeLeftPadding
Declared In
NGridCellStyle.h
– removeRightPadding
Removes cell content right padding setting.
- (void)removeRightPadding
Declared In
NGridCellStyle.h
– removeExpandedImage
Removes expander expanded image setting.
- (void)removeExpandedImage
Declared In
NGridCellStyle.h
– removeCollapsedImage
Removes expander collapsed image setting.
- (void)removeCollapsedImage
Declared In
NGridCellStyle.h
– removeCollapsedRTLImage
Removes expander collapsed in right-to-left mode image setting.
- (void)removeCollapsedRTLImage
Declared In
NGridCellStyle.h
– removeExpanderImageMargin
Removes expander image margin setting.
- (void)removeExpanderImageMargin
Declared In
NGridCellStyle.h
– removeBorderWidth
Removes cell border width setting.
- (void)removeBorderWidth
Declared In
NGridCellStyle.h
– removeLeftBorderWidth
Removes cell left border width setting.
- (void)removeLeftBorderWidth
Declared In
NGridCellStyle.h
– removeRightBorderWidth
Removes cell right border width setting.
- (void)removeRightBorderWidth
Declared In
NGridCellStyle.h
– removeTopBorderWidth
Removes cell top border width setting.
- (void)removeTopBorderWidth
Declared In
NGridCellStyle.h
– removeBottomBorderWidth
Removes cell bottom border width setting.
- (void)removeBottomBorderWidth
Declared In
NGridCellStyle.h
– removeLeftBorderColor
Removes cell left border color setting.
- (void)removeLeftBorderColor
Declared In
NGridCellStyle.h
– removeRightBorderColor
Removes cell right border color setting.
- (void)removeRightBorderColor
Declared In
NGridCellStyle.h
– removeTopBorderColor
Removes cell top border color setting.
- (void)removeTopBorderColor
Declared In
NGridCellStyle.h
– removeBottomBorderColor
Removes cell bottom border color setting.
- (void)removeBottomBorderColor
Declared In
NGridCellStyle.h
– removeLeftBorderDash
Removes cell left border dash setting.
- (void)removeLeftBorderDash
Declared In
NGridCellStyle.h
– removeRightBorderDash
Removes cell right border dash setting.
- (void)removeRightBorderDash
Declared In
NGridCellStyle.h
– removeTopBorderDash
Removes cell top border dash setting.
- (void)removeTopBorderDash
Declared In
NGridCellStyle.h
– removeBottomBorderDash
Removes cell bottom border dash setting.
- (void)removeBottomBorderDash
Declared In
NGridCellStyle.h
– removeHighlightFont
Removes highlighted cell text font setting.
- (void)removeHighlightFont
Declared In
NGridCellStyle.h
– removeTextColor
Removes cell text color setting.
- (void)removeTextColor
Declared In
NGridCellStyle.h
– removeHighlightTextColor
Removes highlighted cell text color setting.
- (void)removeHighlightTextColor
Declared In
NGridCellStyle.h
– removeTextAlignment
Removes cell text alignment setting.
- (void)removeTextAlignment
Declared In
NGridCellStyle.h
– removeLineBreakMode
Removes cell text line break mode setting.
- (void)removeLineBreakMode
Declared In
NGridCellStyle.h
– removeIndentSize
Removes cell text indent size setting.
- (void)removeIndentSize
Declared In
NGridCellStyle.h
– removeBackgroundColorInterchange
Removes cell background color interchange setting.
- (void)removeBackgroundColorInterchange
Declared In
NGridCellStyle.h
– removeFirstInterchangedColor
Removes first cell interchanged color setting.
- (void)removeFirstInterchangedColor
Declared In
NGridCellStyle.h
– removeSecondInterchangedColor
Removes second cell interchanged color setting.
- (void)removeSecondInterchangedColor
Declared In
NGridCellStyle.h
– removeImageAlignment
Removes conditional formatting image alignment setting.
- (void)removeImageAlignment
Declared In
NGridCellStyle.h
– removeImageZOrder
Removes conditional formatting image z order setting.
- (void)removeImageZOrder
Declared In
NGridCellStyle.h
– removeBoldForParent
Removes bold-for-parent mode status setting.
- (void)removeBoldForParent
Declared In
NGridCellStyle.h
– removeClickableCellBackgroundBrush
Removes clickable cell background brush setting.
- (void)removeClickableCellBackgroundBrush
Declared In
NGridCellStyle.h
– removeBackgroundBrush
Removes cell background brush setting.
- (void)removeBackgroundBrush
Declared In
NGridCellStyle.h
– removeConditionalFormat
Removes conditional format.
- (void)removeConditionalFormat
Declared In
NGridCellStyle.h
– removeGrowthIndicatorType
Removes growth indicator type.
- (void)removeGrowthIndicatorType
Declared In
NGridCellStyle.h
– removeGrowthIndicatorImageLess
Removes less image to growth indicator.
- (void)removeGrowthIndicatorImageLess
Declared In
NGridCellStyle.h
– removeGrowthIndicatorImageGreater
Removes greater image to growth indicator.
- (void)removeGrowthIndicatorImageGreater
Declared In
NGridCellStyle.h
– removeSparklineLineColor
Removes sparkline line color.
- (void)removeSparklineLineColor
Declared In
NGridCellStyle.h
– removeSparklineTopColor
Removes sparkline top color.
- (void)removeSparklineTopColor
Declared In
NGridCellStyle.h
– removeSparklineBottomColor
Removes sparkline bottom color.
- (void)removeSparklineBottomColor
Declared In
NGridCellStyle.h
– removeSparklineBackgroundColor
Removes sparkline background color.
- (void)removeSparklineBackgroundColor
Declared In
NGridCellStyle.h
– removeSparklineBackgroundBrush
Removes sparkline background brush.
- (void)removeSparklineBackgroundBrush
Declared In
NGridCellStyle.h