Search code examples
wpfteleriktreemap

Telerik WPF - TreeMap Select item programatically


Is it possible to select an item programatically? After I bind the TreeMap control I would like to select a default item.


Solution

  • Sure. Set the IsSelectionEnabled property to true and then set or bind the SelectedItem or SelectedValue property to an item in the ItemsSource like you would do with any other ItemsControl.