title: enable ribbon control
body: <p><strong>Menu Items and all other menus are not enabled</strong>`` 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"<br>
      x:Class="WpfApplication4.MainWindow"
      xmlns:WA="clr-namespace:WpfApplication4"
      Title="Volume Net Dude" x:Name="RibbonWindow"
      Icon="Images\ICON.png"
      Width="795" mc:Ignorable="d" WindowStartupLocation="CenterScreen" WindowState="Maximized" Closing="Window_Closing" Closed="Window_Closed" IsTabStop="False" >
  `</p>
  
  <pre><code>&lt;!--RibbonWindow Resource Dictionary--&gt;
  &lt;r:RibbonWindow.Resources&gt;
      &lt;ResourceDictionary&gt;
  
          &lt;!--Ribbon Commands--&gt;
          &lt;r:RibbonCommand x:Key="cmdPrint" CanExecute="RibbonCommand_CanExecute_Print" LabelTitle="Print" LabelDescription="Print" ToolTipTitle="Help" ToolTipDescription="This is used to Print" SmallImageSource="Images\printIcon.png" LargeImageSource="Images\printIcon.png" /&gt;
          &lt;r:RibbonCommand x:Key="cmdExit" CanExecute="RibbonCommand_CanExecute_Close" LabelTitle="Close" LabelDescription="Close" ToolTipTitle="Help" ToolTipDescription="Close Application" SmallImageSource="Images\exitIcon.png" LargeImageSource="Images\exitIcon.png" /&gt;
          &lt;r:RibbonCommand x:Key="cmdHelp" CanExecute="RibbonCommand_CanExecute_Help" LabelTitle="About" LabelDescription="Help" ToolTipTitle="Help" ToolTipDescription="About Application" SmallImageSource="Images\ICON.png" LargeImageSource="Images\ICON.png" /&gt;
  
          &lt;!--Theme--&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="/RibbonControlsLibrary;component/Themes/Office2007Blue.xaml" /&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/r:RibbonWindow.Resources&gt;
  
  &lt;!--Root Grid--&gt;
  
  
  
  
      &lt;DockPanel&gt;     
      &lt;r:Ribbon DockPanel.Dock="Top" Title="Volume Net Dude " x:Name="ribbon" BorderBrush="Orange"&gt;
          &lt;r:Ribbon.SelectedTab&gt;
              &lt;r:RibbonTab/&gt;
          &lt;/r:Ribbon.SelectedTab&gt;
  
          &lt;!--Quick Access Toolbar--&gt;
          &lt;r:Ribbon.QuickAccessToolBar&gt;
              &lt;r:RibbonQuickAccessToolBar&gt;
                  &lt;r:RibbonButton Command="{StaticResource cmdExit}" /&gt;
                  &lt;r:RibbonButton Command="{StaticResource cmdPrint}" /&gt;
                  &lt;r:RibbonButton Command="{StaticResource cmdHelp}"/&gt;
              &lt;/r:RibbonQuickAccessToolBar&gt;
          &lt;/r:Ribbon.QuickAccessToolBar&gt;
  
          &lt;r:Ribbon.ApplicationMenu&gt;                
              &lt;r:RibbonApplicationMenu IsEnabled="True" &gt;
                &lt;r:RibbonApplicationMenu.Command&gt;
                      &lt;r:RibbonCommand Executed="RibbonCommand_Executed" SmallImageSource="Images\ICON.png" LargeImageSource="Images\ICON.png" /&gt;
                  &lt;/r:RibbonApplicationMenu.Command&gt;
  
                  &lt;r:RibbonApplicationMenuItem Command="{StaticResource cmdPrint}" /&gt;
                  &lt;r:RibbonApplicationMenuItem Command="{StaticResource cmdExit}" /&gt;
                  &lt;r:RibbonApplicationMenuItem Command="{StaticResource cmdHelp}" /&gt;
  
              &lt;/r:RibbonApplicationMenu&gt;
          &lt;/r:Ribbon.ApplicationMenu&gt;
          &lt;r:RibbonTab x:Name="HomeTab" Label="Home" IsSelected="True"&gt;
              &lt;r:RibbonGroup Name="FileGroup"&gt;
                  &lt;r:RibbonGroup.Command&gt;
                      &lt;r:RibbonCommand LabelTitle="Home" /&gt;
                  &lt;/r:RibbonGroup.Command&gt;
                  &lt;r:RibbonButton Name="menuExit" Content="Exit" Command="{StaticResource cmdExit}"/&gt;
                  &lt;r:RibbonButton Name="menuPrint" Content="Print" Command="{StaticResource cmdPrint}"/&gt;
              &lt;/r:RibbonGroup&gt;
          &lt;/r:RibbonTab&gt;
          &lt;r:RibbonTab x:Name="HelpTab" Label="Help"&gt;
              &lt;r:RibbonGroup Name="HelpGroup"&gt;
                  &lt;r:RibbonGroup.Command&gt;
                      &lt;r:RibbonCommand LabelTitle="Help" /&gt;
                  &lt;/r:RibbonGroup.Command&gt;
  
                  &lt;r:RibbonButton Name="menuAbout" Content="About" Command="{StaticResource cmdHelp}"/&gt;
              &lt;/r:RibbonGroup&gt;
          &lt;/r:RibbonTab&gt;
      &lt;/r:Ribbon&gt;
  
      &lt;Grid Background="#FFE5F1FE"&gt;
      &lt;TabControl x:Name="tabControlMain" Margin="1,0,0.1,0" Background="#FFFCFCFC"&gt;
      &lt;TabItem Header="Tab Header # 1" Background="#FFDA0000"&gt;
                  &lt;Grid x:Name="GridMain" Margin="-5.333,-2.554,-3.767,-4.334" Background="Transparent"&gt;  
              &lt;Grid.ColumnDefinitions&gt;
                  &lt;ColumnDefinition Width="Auto"/&gt;
                  &lt;ColumnDefinition Width="*"/&gt;           
              &lt;/Grid.ColumnDefinitions&gt;
                  &lt;!--[START] Epander for Tree View placed in Column 0 (the most left column) --&gt;
                  &lt;Expander Grid.Column="0" x:Name="expanderViewBoxDisvoceredTreeNodes" IsExpanded="True" 
                          ExpandDirection="Left" HorizontalAlignment="Left" HorizontalContentAlignment="Left"
                          VerticalContentAlignment="Stretch" Width="193.333" Expanded="expanderViewBoxDisvoceredTreeNodes_Expanded" Collapsed="expanderViewBoxDisvoceredTreeNodes_Collapsed" Cursor="Arrow"&gt;
                      &lt;TreeView IsEnabled="True" x:Name="discoveredNodes" Visibility="Visible" Margin="0,1" Width="173.333" Initialized="discoveredNodes_Initialized" MouseDoubleClick="discoveredNodes_MouseDoubleClick" Background="#FFE5F1FE" &gt;
                          &lt;TreeViewItem x:Name="discNodesTreVuItm" IsExpanded="True" Height="Auto" Width="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"/&gt;                             
  
                      &lt;/TreeView&gt;
  
                  &lt;/Expander&gt;
  
                  &lt;Grid Grid.Column="1"&gt;
                      &lt;Grid.RowDefinitions&gt;
                          &lt;RowDefinition Height="0.043*"/&gt;
                          &lt;RowDefinition Height="0.957*"/&gt;
                          &lt;RowDefinition Height="Auto"/&gt;
                      &lt;/Grid.RowDefinitions&gt;
  
                      &lt;!--[Start] Charting Row 0--&gt;               
                      &lt;!--Viewbox Name="ChartViewbox" Grid.Row="0" Stretch="Uniform" --&gt;
  
                      &lt;!--chartingToolkit:Chart x:Name="mainChart" Grid.Row="0" Margin="0,8,8,8"  Title="Chart Title" Height="Auto" Width="Auto"&gt;
                      &lt;chartingToolkit:Chart.DataContext&gt;
                          &lt;PointCollection&gt;1,10 2,20 3,30 4,40&lt;/PointCollection&gt;
                      &lt;/chartingToolkit:Chart.DataContext&gt;
                      &lt;chartingToolkit:ColumnSeries DependentValuePath="X" IndependentValuePath="Y" ItemsSource="{Binding}"/&gt;
                  &lt;/chartingToolkit:Chart--&gt;
  
                  &lt;Grid Grid.RowSpan="2"&gt;
  
      &lt;charting:Chart x:Name="mainChart" Grid.Row="0" Margin="0,8,8,8"  Title="Net Volume Usage" Height="Auto" Width="Auto" LegendTitle="Volume" Background="#FFE5F1FE"/&gt;
      &lt;Canvas HorizontalAlignment="Right" Margin="0,17,17,0" VerticalAlignment="Top" Width="25" Height="25"&gt;
          &lt;WA:FrontEndWaiting Width="50" Height="50" x:Name="animatedIcon"
      RenderTransformOrigin="0.44,0.44" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment, Width, Height" Canvas.Left="-25"/&gt;
      &lt;/Canvas&gt;
  
  &lt;/Grid&gt;
  
  
  
                      &lt;Expander x:Name="expanderVolumeDataTable" Grid.Row="2" IsExpanded="True" ExpandDirection="Up" 
                                Collapsed="expanderVolumeDataTable_Collapsed" Expanded="expanderVolumeDataTable_Expanded" Header="" Margin="0,10,8,10" &gt;
  
                              &lt;Custom:DataGrid x:Name="dataGridRunningVolume" AlternationCount="2"  Margin="0,0,0,0" AutoGenerateColumns="True" ItemsSource="{Binding}" AlternatingRowBackground="#FFCDE1FC" BorderBrush="Black" RowBackground="#FFD8E8FC"/&gt;
  
                          &lt;/Expander&gt;         
  
                  &lt;/Grid&gt;
  
  
  
          &lt;/Grid&gt;
  
      &lt;/TabItem&gt;
  
  
  &lt;/TabControl&gt;
  &lt;/Grid&gt;
  &lt;/DockPanel&gt;
  </code></pre>
  
  <p></p>