Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method `XF.Material.Forms.UI.MaterialRadioButton..ctor()' is inaccessible #24

Closed
prakash-malodiya opened this issue Nov 13, 2018 · 5 comments
Labels
bug Something isn't working valid This issue/bug/feature request is valid

Comments

@prakash-malodiya
Copy link

I am using materialradiobutton (single) control in my application but due to its protection level (You are using internal access modifier), I am unable to call its constructor. I am getting this error
Method `XF.Material.Forms.UI.MaterialRadioButton..ctor()' is inaccessible.

It is access modifier error. So If you make it public then it should work.

@contrix09
Copy link

Hi. Yes that is intentional, since MaterialRadioButton is only used in MaterialRadioButtonGroup. I don't see any importance to why a single radio button will be used. What is your intended use?

@prakash-malodiya
Copy link
Author

As I am using Listview for sorting items. I am also binding MaterialRadioButton in my sorting listview as my item (Label + MaterialRadioButton). Because I want to select only one item at a time how I can use MaterialRadioButtonGroup in list item. So I am using MaterialRadioButton instead of MaterialRadioButtonGroup.

See below image.

materialbuttonuse

@contrix09
Copy link

Ok, I can consider this. Expect the new release about later this week, just after I cleanup some codes.

@prakash-malodiya
Copy link
Author

MaterialRadioButton constructor access modifier is not changed in latest version...

@contrix09 contrix09 reopened this Nov 21, 2018
@contrix09 contrix09 self-assigned this Nov 21, 2018
@contrix09 contrix09 added bug Something isn't working valid This issue/bug/feature request is valid labels Nov 21, 2018
@contrix09
Copy link

Released new version.

@contrix09 contrix09 removed their assignment Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working valid This issue/bug/feature request is valid
Projects
None yet
Development

No branches or pull requests

1 participant