NGridCellStyle Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCoding NSCopying |
| Declared in | NGridCellStyle.h |
backgroundColor
Background color of the cell.
@property (nonatomic, retain) UIColor *backgroundColorDeclared In
NGridCellStyle.h
highlightBackgroundColor
Background color of cell for highlighted cells.
@property (nonatomic, retain) UIColor *highlightBackgroundColorDeclared In
NGridCellStyle.h
touchHighlightColor
Background of the cell that is touched.
@property (nonatomic, retain) UIColor *touchHighlightColorDeclared In
NGridCellStyle.h
expanderImageAlignment
Alignment of the expander image. Used in expandable cells.
@property (nonatomic, assign) NGridImageAlignment expanderImageAlignmentDeclared In
NGridCellStyle.h
topPadding
Top padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat topPaddingDeclared In
NGridCellStyle.h
bottomPadding
Bottom padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat bottomPaddingDeclared In
NGridCellStyle.h
leftPadding
Left padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat leftPaddingDeclared In
NGridCellStyle.h
rightPadding
Right padding of the cell’s content in pixels.
@property (nonatomic, assign) CGFloat rightPaddingDeclared In
NGridCellStyle.h
expandedImage
Expander image for the expanded state. Used in expandable cells.
@property (nonatomic, retain) UIImage *expandedImageDeclared In
NGridCellStyle.h
collapsedImage
Expander image for the collapsed state. Used in expandable cells.
@property (nonatomic, retain) UIImage *collapsedImageDeclared In
NGridCellStyle.h
collapsedRTLImage
Expander image for the collapsed state in right-to-left mode. Used in expandable cells.
@property (nonatomic, retain) UIImage *collapsedRTLImageDeclared In
NGridCellStyle.h
expanderImageMargin
Margins of the expander image in pixels. Used in expandable cells.
@property (nonatomic, assign) CGFloat expanderImageMarginDeclared 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 borderWidthDeclared In
NGridCellStyle.h
leftBorderWidth
Width of the left border in pixels.
@property (nonatomic, assign) CGFloat leftBorderWidthDeclared In
NGridCellStyle.h
rightBorderWidth
Width of the right border in pixels.
@property (nonatomic, assign) CGFloat rightBorderWidthDeclared In
NGridCellStyle.h
topBorderWidth
Width of the top border in pixels.
@property (nonatomic, assign) CGFloat topBorderWidthDeclared In
NGridCellStyle.h
bottomBorderWidth
Width of the bottom border in pixels.
@property (nonatomic, assign) CGFloat bottomBorderWidthDeclared In
NGridCellStyle.h
leftBorderColor
Color of the left border.
@property (nonatomic, retain) UIColor *leftBorderColorDeclared In
NGridCellStyle.h
rightBorderColor
Color of the right border.
@property (nonatomic, retain) UIColor *rightBorderColorDeclared In
NGridCellStyle.h
topBorderColor
Color of the top border.
@property (nonatomic, retain) UIColor *topBorderColorDeclared In
NGridCellStyle.h
bottomBorderColor
Color of the bottom border.
@property (nonatomic, retain) UIColor *bottomBorderColorDeclared 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 *leftBorderDashDeclared 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 *rightBorderDashDeclared 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 *topBorderDashDeclared 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 *bottomBorderDashDeclared In
NGridCellStyle.h
highlightFont
Font of the cell text for highlighted cells.
@property (nonatomic, retain) UIFont *highlightFontDeclared In
NGridCellStyle.h
textColor
Color of the cell text.
@property (nonatomic, retain) UIColor *textColorDeclared In
NGridCellStyle.h
highlightTextColor
Color of the cell text for highlighted cells.
@property (nonatomic, retain) UIColor *highlightTextColorDeclared In
NGridCellStyle.h
textAlignment
Alignment of the cell text.
@property (nonatomic, assign) NSTextAlignment textAlignmentDeclared In
NGridCellStyle.h
lineBreakMode
Line break mode of the cell text.
@property (nonatomic, assign) NSLineBreakMode lineBreakModeDeclared 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 indentDeclared In
NGridCellStyle.h
indentSize
Indent size in pixels.
@property (nonatomic, assign) CGFloat indentSizeDeclared 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 backgroundColorInterchangeDiscussion
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 *firstInterchangedColorDeclared In
NGridCellStyle.h
secondInterchangedColor
Background color for the even rows. Used in color interchange mode.
@property (nonatomic, retain) UIColor *secondInterchangedColorDeclared In
NGridCellStyle.h
imageAlignment
Image alignment of the image used for conditional formatting.
@property (nonatomic, assign) NGridImageAlignment imageAlignmentDeclared In
NGridCellStyle.h
imageZOrder
Image z order of the image used for conditional formatting.
@property (nonatomic, assign) NGridImageZOrder imageZOrderDeclared In
NGridCellStyle.h
styleName
Name of the style.
@property (nonatomic, retain) NSString *styleNameDeclared In
NGridCellStyle.h
boldForParent
A Boolean value that determines whether the cell text should be bold if cell has children.
@property (nonatomic, assign) BOOL boldForParentDeclared In
NGridCellStyle.h
clickableCellBackgroundBrush
Brush to draw the background of the touched cell.
@property (nonatomic, retain) NGridBrush *clickableCellBackgroundBrushDeclared In
NGridCellStyle.h
backgroundBrush
Brush to draw the background of the cell.
@property (nonatomic, retain) NGridBrush *backgroundBrushDeclared In
NGridCellStyle.h
growthIndicatorType
Type of the growth indicator.
@property (nonatomic, assign) NGridGrowthIndicatorType growthIndicatorTypeDeclared In
NGridCellStyle.h
growthIndicatorImageLess
Image containing “less” sign for the growth indicator.
@property (nonatomic, retain) UIImage *growthIndicatorImageLessDeclared In
NGridCellStyle.h
growthIndicatorImageGreater
Image containing “greater” sign for the growth indicator.
@property (nonatomic, retain) UIImage *growthIndicatorImageGreaterDeclared In
NGridCellStyle.h
conditionalFormattingSettings
Settings of the conditional formatting.
@property (nonatomic, retain) NSObject<NGridConditionalFormattingSettingsProtocol> *conditionalFormattingSettingsDeclared In
NGridCellStyle.h
sparklineLineColor
Color of the sparkline line.
@property (nonatomic, retain) UIColor *sparklineLineColorDeclared In
NGridCellStyle.h
sparklineTopColor
Color of the marker indicating maximal value on the sparkline.
@property (nonatomic, retain) UIColor *sparklineTopColorDeclared In
NGridCellStyle.h
sparklineBottomColor
Color of the marker indicating minimal value on the sparkline.
@property (nonatomic, retain) UIColor *sparklineBottomColorDeclared In
NGridCellStyle.h
sparklineBackgroundColor
Background color of the sparkline.
@property (nonatomic, retain) UIColor *sparklineBackgroundColorDeclared In
NGridCellStyle.h
sparklineBackgroundBrush
Background brush of the sparkline.
@property (nonatomic, retain) NGridBrush *sparklineBackgroundBrushDeclared In
NGridCellStyle.h
stringAttributes
Attributes of the cell text.
@property (nonatomic, retain) NSDictionary *stringAttributesDeclared In
NGridCellStyle.h
highlightedStringAttributes
Attributes of the highlighted cell text.
@property (nonatomic, retain) NSDictionary *highlightedStringAttributesDeclared In
NGridCellStyle.h
+ defaultStyle
Creates default style. Default style contains default settings and may be used as simple base of custom styles.
+ (NGridCellStyle *)defaultStyleDeclared In
NGridCellStyle.h
– setBorderColor:
Sets border color for all borders.
- (void)setBorderColor:(UIColor *)colorParameters
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 *)styleParameters
style |
Style to merge with. |
|---|
Declared In
NGridCellStyle.h
– removeBackgroundColor
Removes cell background color setting.
- (void)removeBackgroundColorDeclared In
NGridCellStyle.h
– removeHighlightBackgroundColor
Removes highlighted cell background color setting.
- (void)removeHighlightBackgroundColorDeclared In
NGridCellStyle.h
– removeTouchHighlightColor
Removes touched cell background color setting.
- (void)removeTouchHighlightColorDeclared In
NGridCellStyle.h
– removeExpanderImageAlignment
Removes expander image alignment setting.
- (void)removeExpanderImageAlignmentDeclared In
NGridCellStyle.h
– removeTopPadding
Removes cell content top padding setting.
- (void)removeTopPaddingDeclared In
NGridCellStyle.h
– removeBottomPadding
Removes cell content bottom padding setting.
- (void)removeBottomPaddingDeclared In
NGridCellStyle.h
– removeLeftPadding
Removes cell content left padding setting.
- (void)removeLeftPaddingDeclared In
NGridCellStyle.h
– removeRightPadding
Removes cell content right padding setting.
- (void)removeRightPaddingDeclared In
NGridCellStyle.h
– removeExpandedImage
Removes expander expanded image setting.
- (void)removeExpandedImageDeclared In
NGridCellStyle.h
– removeCollapsedImage
Removes expander collapsed image setting.
- (void)removeCollapsedImageDeclared In
NGridCellStyle.h
– removeCollapsedRTLImage
Removes expander collapsed in right-to-left mode image setting.
- (void)removeCollapsedRTLImageDeclared In
NGridCellStyle.h
– removeExpanderImageMargin
Removes expander image margin setting.
- (void)removeExpanderImageMarginDeclared In
NGridCellStyle.h
– removeBorderWidth
Removes cell border width setting.
- (void)removeBorderWidthDeclared In
NGridCellStyle.h
– removeLeftBorderWidth
Removes cell left border width setting.
- (void)removeLeftBorderWidthDeclared In
NGridCellStyle.h
– removeRightBorderWidth
Removes cell right border width setting.
- (void)removeRightBorderWidthDeclared In
NGridCellStyle.h
– removeTopBorderWidth
Removes cell top border width setting.
- (void)removeTopBorderWidthDeclared In
NGridCellStyle.h
– removeBottomBorderWidth
Removes cell bottom border width setting.
- (void)removeBottomBorderWidthDeclared In
NGridCellStyle.h
– removeLeftBorderColor
Removes cell left border color setting.
- (void)removeLeftBorderColorDeclared In
NGridCellStyle.h
– removeRightBorderColor
Removes cell right border color setting.
- (void)removeRightBorderColorDeclared In
NGridCellStyle.h
– removeTopBorderColor
Removes cell top border color setting.
- (void)removeTopBorderColorDeclared In
NGridCellStyle.h
– removeBottomBorderColor
Removes cell bottom border color setting.
- (void)removeBottomBorderColorDeclared In
NGridCellStyle.h
– removeLeftBorderDash
Removes cell left border dash setting.
- (void)removeLeftBorderDashDeclared In
NGridCellStyle.h
– removeRightBorderDash
Removes cell right border dash setting.
- (void)removeRightBorderDashDeclared In
NGridCellStyle.h
– removeTopBorderDash
Removes cell top border dash setting.
- (void)removeTopBorderDashDeclared In
NGridCellStyle.h
– removeBottomBorderDash
Removes cell bottom border dash setting.
- (void)removeBottomBorderDashDeclared In
NGridCellStyle.h
– removeHighlightFont
Removes highlighted cell text font setting.
- (void)removeHighlightFontDeclared In
NGridCellStyle.h
– removeTextColor
Removes cell text color setting.
- (void)removeTextColorDeclared In
NGridCellStyle.h
– removeHighlightTextColor
Removes highlighted cell text color setting.
- (void)removeHighlightTextColorDeclared In
NGridCellStyle.h
– removeTextAlignment
Removes cell text alignment setting.
- (void)removeTextAlignmentDeclared In
NGridCellStyle.h
– removeLineBreakMode
Removes cell text line break mode setting.
- (void)removeLineBreakModeDeclared In
NGridCellStyle.h
– removeIndentSize
Removes cell text indent size setting.
- (void)removeIndentSizeDeclared In
NGridCellStyle.h
– removeBackgroundColorInterchange
Removes cell background color interchange setting.
- (void)removeBackgroundColorInterchangeDeclared In
NGridCellStyle.h
– removeFirstInterchangedColor
Removes first cell interchanged color setting.
- (void)removeFirstInterchangedColorDeclared In
NGridCellStyle.h
– removeSecondInterchangedColor
Removes second cell interchanged color setting.
- (void)removeSecondInterchangedColorDeclared In
NGridCellStyle.h
– removeImageAlignment
Removes conditional formatting image alignment setting.
- (void)removeImageAlignmentDeclared In
NGridCellStyle.h
– removeImageZOrder
Removes conditional formatting image z order setting.
- (void)removeImageZOrderDeclared In
NGridCellStyle.h
– removeBoldForParent
Removes bold-for-parent mode status setting.
- (void)removeBoldForParentDeclared In
NGridCellStyle.h
– removeClickableCellBackgroundBrush
Removes clickable cell background brush setting.
- (void)removeClickableCellBackgroundBrushDeclared In
NGridCellStyle.h
– removeBackgroundBrush
Removes cell background brush setting.
- (void)removeBackgroundBrushDeclared In
NGridCellStyle.h
– removeConditionalFormat
Removes conditional format.
- (void)removeConditionalFormatDeclared In
NGridCellStyle.h
– removeGrowthIndicatorType
Removes growth indicator type.
- (void)removeGrowthIndicatorTypeDeclared In
NGridCellStyle.h
– removeGrowthIndicatorImageLess
Removes less image to growth indicator.
- (void)removeGrowthIndicatorImageLessDeclared In
NGridCellStyle.h
– removeGrowthIndicatorImageGreater
Removes greater image to growth indicator.
- (void)removeGrowthIndicatorImageGreaterDeclared In
NGridCellStyle.h
– removeSparklineLineColor
Removes sparkline line color.
- (void)removeSparklineLineColorDeclared In
NGridCellStyle.h
– removeSparklineTopColor
Removes sparkline top color.
- (void)removeSparklineTopColorDeclared In
NGridCellStyle.h
– removeSparklineBottomColor
Removes sparkline bottom color.
- (void)removeSparklineBottomColorDeclared In
NGridCellStyle.h
– removeSparklineBackgroundColor
Removes sparkline background color.
- (void)removeSparklineBackgroundColorDeclared In
NGridCellStyle.h
– removeSparklineBackgroundBrush
Removes sparkline background brush.
- (void)removeSparklineBackgroundBrushDeclared In
NGridCellStyle.h