This is because of the limitations of Windows. If the partition you want to extend is not an NTFS partition, or no continuous unallocated space is behind the primary partition or no continuous free space is behind the logical drive, Extend Volume is grayed out.