Adding button to busy indicator

1 posts, 0 answers
  1. Josh
    Josh avatar
    17 posts
    Member since:
    Aug 2012

    Posted 13 May 2013 Link to this post

    Hi I am using the busy indicator while I have a simulator setting it self up. I need to give the user a method to perform an emergency stop if needed. I tried adding a button to the data template but clicking it seems to do nothing. Can this be done? Below is the XMAL and command definition
    <telerik:RadBusyIndicator IsIndeterminate="True" IsBusy="{Binding IsVehicleRotating}">
                        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
                                <RowDefinition Height="23"></RowDefinition>
                                Vehicle is rotating
                            <diControls:DIButton Grid.Row="1">
                                Emergency Stop
    <!--Content is here-->
    private RelayCommand emergencyStopCommand;
            public RelayCommand EmergencyStopCommand
                    return emergencyStopCommand ?? (emergencyStopCommand = new RelayCommand(() =>
                            IsVehicleRotating = false;

Back to Top