Rebranding the Tree View Component

Use the MAF skinning mechanism to add a custom look and feel to your MAFTreeView.

You can use the MAFUIStyleParser to skin the UI elements of the tree view and its subviews (cells, for example), based on a list of accessible parameters. You can change the color of the background, text, and action bars, replace the background color and image of the badge values, and so on.

The skinnable properties of the controls/TargetTypes that can be adjusted using a style configuration XML file include:
Number Tag Screen Element TargetType Key
1 Title bar

Label

MAFUILabel

TitleBarLabel
2 Cell badge

Label

MAFUILabel

CellBadgeSelected

CellBadgeUnselected

3 Table view

ListBox

MAFUITableView

UITableView
4 Table view cell

ListBoxItem

MAFUITableViewCell

UITableViewCell
5 Action bar

Control

MAFUIView

ActionBar
6 Action bar button

Button

MAFUIButton

ActionbarButton

Use MAF skinning to apply your style and adjust these properties.

Related concepts
MAF Skinning