Inherits from SEssentialsStyle : NSObject
Declared in SEssentialsAccordionSectionHeaderStyle.h
Availability
Related samples

Overview

The SEssentialsAccordionSectionHeaderStyle defines the look and feel for an instance of the SEssentialsAccordionSectionHeader class. If you wish to configure how an accordion section header looks, you should set the relevant properties on this class.

SEssentialsAccordionSectionHeaderStyle derives from SEssentialsStyle, and so it is initialized using a SEssentialsTheme object. The theme sets the default properties of the style.

The following settings are set by default from the theme:

Tasks

Background style

  •   sectionCornerRadius

    The rounding at the corners on each section. The default is 0.

    property
  •   sectionBackgroundColor

    The background color of the section. This defaults to the secondaryTintColor on the theme.

    property
  •   backgroundColor

    The background color of the section header. This defaults to the primaryTintColor on the theme.

    property
  •   selectedBackgroundColor

    The background color of a selected section header. This defaults to the secondaryTintColor on the theme.

    property
  •   pressedBackgroundColor

    The background color of an pressed section header. This defaults to the activeTintColor on the theme.

    property
  •   texture

    The texture which is applied to the section header. This defaults to a clear color.

    property

Text style

  •   font

    The font of the UILabel which displays the title in the section header. This defaults to the primaryFont on the theme.

    property
  •   fontColor

    The color of title in the section header. This defaults to the primaryTextColor on the theme.

    property

Decoration

  •   showDecoration

    DEPRECATED: This property is no longer used. If you would like to configure the decoration on the section header, you should use the properties on the style which configure the particular setting you need, such as shineColor, chiselPrimaryColor, chiselSecondaryColor etc.

    property
  •   shineColor

    The color of the shine layer over the header. Defaults to the shineColor of the theme.

    property
  •   chiselPrimaryColor

    The top color of the chisel separating the header from the content. Defaults to the primaryDecorationTintColor of the theme.

    property
  •   chiselSecondaryColor

    The bottom color of the chisel separating the header from the content. Defaults to the secondaryDecorationTintColor of the theme.

    property
  •   shadowColor

    The color of the drop shadow under the section. Defaults to the shadowColor of the theme.

    property
  •   shadowDepth

    The depth of the drop shadow under the section. Defaults to the shadowDepth of the theme.

    property

Properties

backgroundColor

The background color of the section header. This defaults to the primaryTintColor on the theme.

@property (retain, nonatomic) UIColor *backgroundColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

chiselPrimaryColor

The top color of the chisel separating the header from the content. Defaults to the primaryDecorationTintColor of the theme.

@property (nonatomic, retain) UIColor *chiselPrimaryColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

chiselSecondaryColor

The bottom color of the chisel separating the header from the content. Defaults to the secondaryDecorationTintColor of the theme.

@property (nonatomic, retain) UIColor *chiselSecondaryColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

font

The font of the UILabel which displays the title in the section header. This defaults to the primaryFont on the theme.

@property (retain, nonatomic) UIFont *font

Declared In

SEssentialsAccordionSectionHeaderStyle.h

fontColor

The color of title in the section header. This defaults to the primaryTextColor on the theme.

@property (retain, nonatomic) UIColor *fontColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

pressedBackgroundColor

The background color of an pressed section header. This defaults to the activeTintColor on the theme.

@property (retain, nonatomic) UIColor *pressedBackgroundColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

sectionBackgroundColor

The background color of the section. This defaults to the secondaryTintColor on the theme.

@property (retain, nonatomic) UIColor *sectionBackgroundColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

sectionCornerRadius

The rounding at the corners on each section. The default is 0.

@property (assign, nonatomic) CGFloat sectionCornerRadius

Declared In

SEssentialsAccordionSectionHeaderStyle.h

selectedBackgroundColor

The background color of a selected section header. This defaults to the secondaryTintColor on the theme.

@property (retain, nonatomic) UIColor *selectedBackgroundColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

shadowColor

The color of the drop shadow under the section. Defaults to the shadowColor of the theme.

@property (nonatomic, retain) UIColor *shadowColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

shadowDepth

The depth of the drop shadow under the section. Defaults to the shadowDepth of the theme.

@property (nonatomic, assign) CGFloat shadowDepth

Declared In

SEssentialsAccordionSectionHeaderStyle.h

shineColor

The color of the shine layer over the header. Defaults to the shineColor of the theme.

@property (nonatomic, retain) UIColor *shineColor

Declared In

SEssentialsAccordionSectionHeaderStyle.h

showDecoration

DEPRECATED: This property is no longer used. If you would like to configure the decoration on the section header, you should use the properties on the style which configure the particular setting you need, such as shineColor, chiselPrimaryColor, chiselSecondaryColor etc.

@property (assign, nonatomic) BOOL showDecoration

Declared In

SEssentialsAccordionSectionHeaderStyle.h

texture

The texture which is applied to the section header. This defaults to a clear color.

@property (retain, nonatomic) UIColor *texture

Declared In

SEssentialsAccordionSectionHeaderStyle.h