New to Telerik UI for WinUIStart a free 30-day trial

Commands Overview

Updated on Mar 26, 2026

RadTimeBar provides a set of built-in commands that enables you to further control its behavior and keep your logic separated from the UI layout.

The following list contains all of the supported commands provided by the RadTimeBarCommands class:

  • CenterSelection—Changes the visible period of the control, in order to show the selection centered.
  • ExpandVisiblePeriod—Expands the visible period range to period range.
  • ExpandVisiblePeriodToStart—Expands the visible period start to period start.
  • ExpandVisiblePeriodToEnd—Expands the visible period end to period end.
  • SelectionGroupInterval—Allows you to select the current group interval.
  • SelectionGroupIntervalStart—Allows you to select the start of the current group interval.
  • SelectionGroupIntervalEnd—Allows you to select the end of the current group interval.

Command execution

C#
private void RadButton_Click(object sender, RoutedEventArgs e)
{
	RoutedUICommand centerSelection = RadTimeBarCommands.CenterSelection;
	centerSelection.Execute(null, this.timeBar);
}

See Also

In this article
See Also
Not finding the help you need?
Contact Support