RadzenSelectBar using a string value

I would like to use a single letter as the Value in a Radzen Select Bar.
How can I do that?
When the value is a letter, I get the error "The name 'x' Does not exist in the current context.
Here is the code.

<RadzenSelectBar TValue="string" Size="ButtonSize.Small" @bind-Value="@Gender">
     <Items>
          <RadzenSelectBarItem Value="M" Text="Male" />
         <RadzenSelectBarItem Value="F" Text="Female" />
         <RadzenSelectBarItem Value="X" Text="TBA" />
     </Items>
</RadzenSelectBar>

The value property is of object type and the Blazor parser can't make the type out so it thinks it is a variable. Try this instead:

<RadzenSelectBarItem Value="@("F")" />

That works, thanks!

I also found if I defined string variables and used them it also worked.
IE:

<Items>
             <RadzenSelectBarItem Value="@S1" Text="Male" Icon="Male" />
             <RadzenSelectBarItem Value="@S2" Text="Female" Icon="Female" />
             <RadzenSelectBarItem Value="@S3" Text="TBA" Icon="transgender"/>
 </Items>

@code{
  string S1 = "M";
  string S2 = "F";
  string S3 = "X";
}