Inherits from SDataGridWrapper : NSObject
Conforms to NSCopying
Declared in SDataGridSectionHeaderStyle.h
Availability
Related samples

Overview

An SDataGridSectionHeaderStyle object represents the style to be used for the header of a section.

Tasks

Initializing a header style object.

Styling

  •   hidden

    This boolean property indicates whether the section header is to be shown or not.

    property
  •   height

    This property represents the height that will be applied to the section header(s).

    property
  •   backgroundColor

    This property represents the background color that will be applied to the section header(s).

    property
  •   textColor

    This property represents the text color that will be applied to the section header(s).

    property
  •   font

    This property represents the font that will be applied to the section header(s).

    property
  •   gradient

    This property represents the gradient that will be applied to the section header(s). The gradient is applied over the background color. Setting this property to nil will remove the default gradient applied to the section headers.

    property

Properties

backgroundColor

This property represents the background color that will be applied to the section header(s).

@property (nonatomic, retain) UIColor *backgroundColor

Declared In

SDataGridSectionHeaderStyle.h

font

This property represents the font that will be applied to the section header(s).

@property (nonatomic, retain) UIFont *font

Declared In

SDataGridSectionHeaderStyle.h

gradient

This property represents the gradient that will be applied to the section header(s). The gradient is applied over the background color. Setting this property to nil will remove the default gradient applied to the section headers.

@property (nonatomic, retain) SDataGridGradient *gradient

Declared In

SDataGridSectionHeaderStyle.h

height

This property represents the height that will be applied to the section header(s).

@property (nonatomic, assign) CGFloat height

Declared In

SDataGridSectionHeaderStyle.h

hidden

This boolean property indicates whether the section header is to be shown or not.

@property (nonatomic, assign) BOOL hidden

Discussion

If set to YES then the section at sectionIndex will have no header. Default value is NO.

Declared In

SDataGridSectionHeaderStyle.h

textColor

This property represents the text color that will be applied to the section header(s).

@property (nonatomic, retain) UIColor *textColor

Declared In

SDataGridSectionHeaderStyle.h

Instance Methods

init

Initialises a header style object with default values.

- (id)init

Declared In

SDataGridSectionHeaderStyle.h

initWithHeight:withBackgroundColor:

Initialises a header style with the specified parameters.

- (id)initWithHeight:(CGFloat)height withBackgroundColor:(UIColor *)backgroundColor

Declared In

SDataGridSectionHeaderStyle.h

initWithHeight:withBackgroundColor:withHidden:

Initialises a header style with the specified parameters.

- (id)initWithHeight:(CGFloat)height withBackgroundColor:(UIColor *)backgroundColor withHidden:(BOOL)isHidden

Declared In

SDataGridSectionHeaderStyle.h