Is there a way to disable the area that holds the controls? (toggle playlist, stop, play, chapter prev/next, volume). I would like to just have the progress bar (with or without the time count of media). Is this possible?
There is no out-of-the-box mechanism to achieve what you are describing. However, one way to do it is to use the VisualTreeHelper and get the panel containing all the playback controls. Then you can iterate through the Children of the panel and disable the desired controls.
privatevoid DisableControls()
{
// Get the first child in RadMediaPlayer's ControlTemplate.
Grid root = VisualTreeHelper.GetChild(radMediaPlayer1, 0) as Grid;
// Find the Grid called BottomPart. The 2nd child of BottomPart contains the playback controls.
Grid bottomPart = root.FindName("BottomPart") as Grid;
Grid videoControls = bottomPart.Children[2] as Grid;
// Get all the controls.
var controls = videoControls.ChildrenOfType<Control>();
// Disable the controls.
foreach (Control control in controls)
{
control.IsEnabled = false;
}
}
I have attached a sample project for further reference. If you experience additional problems, let us know.