Articles in this section

How to display the hierarchy name in the SplitButton of an AxisElementBuilder?

You can display the hierarchy name instead of the dimension name in the SplitButton inside the AxisElementBuilder by using the AxisItemDisplayMode dependency property of the OLAP Client.

C#

public partial class MainPage : UserControl
{
    public MainPage()
    {
    //Initializes the control
    InitializeComponent();
    ……
    ……
    //Sets the name to be selected as Display Name for the SplitButton
    this.olapClient.AxisItemDisplayMode = Syncfusion.Silverlight.Tools.Olap.SplitButtonDisplayMode.WithHierarchyCaption;
    }
}

VB

Partial Public Class MainPage
Inherits UserControl
    Public Sub New()
    ‘Initializes the control
    InitializeComponent()
    ‘Sets the name to be selected as Display Name for the SplitButton
    Me.olapClient.AxisItemDisplayMode = Syncfusion.Silverlight.Tools.Olap.SplitButtonDisplayMode.WithHierarchyCaption
    End Sub
End Class

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied