/// <summary> /// Called when [execute expand all]. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="System.Windows.Input.ExecutedRoutedEventArgs"/> instance containing the event data.</param> private static void OnExecuteExpandAll(object sender, ExecutedRoutedEventArgs args) { SfTreeGrid treeGrid = args.Source as SfTreeGrid; treeGrid.ExpandAllNodes(); }