/// \brief
 ///   Indicates whether the editor is currently active in the EDITORMODE_PLAYING_IN_GAME mode.
 ///   For convenience it returns true if not inside the editor.
 inline bool IsPlayingTheGame() const
 {
   if ( !IsInEditor() )
     return true;
   if ( m_editorMode == EDITORMODE_PLAYING_IN_GAME )
     return true;
   return false;
 }
 /// \brief
 ///   Indicates whether the editor is currently active either in the animating or playing mode.
 ///   For convenience it returns true if not inside the editor.
 inline bool IsAnimatingOrPlaying() const
 {
   if ( !IsInEditor() )
     return true;
   if ( m_editorMode == EDITORMODE_ANIMATING || IsPlaying() )
     return true;
   return false;
 }
				void DataGridContentProvider::ItemContent::OnCellRightButtonUp(compositions::GuiGraphicsComposition* sender, compositions::GuiMouseEventArgs& arguments)
				{
					if(!IsInEditor(arguments))
					{
						if(contentProvider->dataGrid->GetVisuallyEnabled())
						{
							OnCellButtonUp(sender, false);
						}
					}
				}
				void DataGridContentProvider::ItemContent::OnCellButtonDown(compositions::GuiGraphicsComposition* sender, compositions::GuiMouseEventArgs& arguments)
				{
					IsInEditor(arguments);
				}