WPF-Forge/Forge.Forms

Horizontal radiobuttons

hashitha opened this issue · 2 comments

Is it possible to have the radio buttons layed out horizontally

the following code would put the buttons one under the other

  <select name="CustomSelection" defaultValue="second" as="radiobuttons" label="Select something">
    <option value="first">First Item</option>
    <option value="second">Second Item</option>
    <option value="third" name="Third Item" />
  </select>

image

Done. When settings as="RadioButtonsInline" you get the radio buttons in a wrap panel.

image

If this doesn't look right feel free to PR visual updates, until then I won't publish the update in NuGet, which I guess you don't need anyway.

Thanks this is working great!