Sets the title of the given Bar based on the TitleBinding property or the bar index if there is no TitleBinding.

Namespace: Mindscape.PhoneElements.Charting
Assembly: Mindscape.PhoneElements (in Mindscape.PhoneElements.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected void SetTitle(
	Bar bar,
	int index
)
Visual Basic
Protected Sub SetTitle ( _
	bar As Bar, _
	index As Integer _
)
Visual C++
protected:
void SetTitle(
	Bar^ bar, 
	int index
)

Parameters

bar
Type: Mindscape.PhoneElements.Charting..::..Bar
The Bar to find a title for.
index
Type: System..::..Int32
The index of the Bar within the items source. This is used to create a default title if the Bar has no TitleBinding.

See Also