Inherits from NSObject
Declared in SGridSectionHeaderStyle.h
Availability
Related samples

Overview

An SGridSectionHeaderStyle 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

Properties

backgroundColor

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

@property (nonatomic, retain) UIColor *backgroundColor

Declared In

SGridSectionHeaderStyle.h

font

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

@property (nonatomic, retain) UIFont *font

Declared In

SGridSectionHeaderStyle.h

height

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

@property (nonatomic, assign) CGFloat height

Declared In

SGridSectionHeaderStyle.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

SGridSectionHeaderStyle.h

textColor

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

@property (nonatomic, retain) UIColor *textColor

Declared In

SGridSectionHeaderStyle.h

Instance Methods

init

Initialises a header style object with default values.

- (id)init

Declared In

SGridSectionHeaderStyle.h

initWithHeight:withBackgroundColor:

Initialises a header style with the specified parameters.

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

Declared In

SGridSectionHeaderStyle.h

initWithHeight:withBackgroundColor:withHidden:

Initialises a header style with the specified parameters.

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

Declared In

SGridSectionHeaderStyle.h