Skip to content

RadioButton Border color not working for focused visual state #15806

@Kerubananthan3761

Description

@Kerubananthan3761

Description

In Maui RadioButton while customizing radio button style using Visual State, the border color of radio button is applied for the Normal Visual State. When the Visual State is Focused the the border color is not applied. Also need to customize Radio button selected color.

Steps to Reproduce

  1. Create a file > .Net Maui App
  2. Add ContentPage.Resources in MainPage.Xaml
  3. Add Style to ContentPage.Resources
  4. Add Setter Property="VisualStateManager.VisualStateGroups" to style
  5. Add Visual state Group list to VisualStateManager with Normal and Focused state
  6. Add Radiobuttons to ContentPage
  7. Set StaticResource to Radio button style property and bind with ContentPage.Resources specifed Key
  8. Run the sample and Select any radio button item
  9. The text color and background color is changed only on move hovered on selected item and border color will not be applied

Link to public reproduction project repository

RadioButtonSample.zip

Version with bug

7.0.49

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10.0.19041.0

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-radiobuttonRadioButton, RadioButtonGrouppartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions