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

RadialMenuButton LabelSize throws cast error #133

Open
jupagose opened this issue Jul 7, 2016 · 0 comments
Open

RadialMenuButton LabelSize throws cast error #133

jupagose opened this issue Jul 7, 2016 · 0 comments

Comments

@jupagose
Copy link

jupagose commented Jul 7, 2016

If try to assign
RadialMenu rm = NotesRadialMenu; // Defined at my xaml
RadialMenuButton btn = new RadialMenuButton();
btn.Label = "♪";
btn.Icon = item.CurrentNotation;
btn.Name = "Note_" + item.NoteId.ToString().Trim();
btn.Type = RadialMenuButton.ButtonType.Simple;
btn.LabelSize = 10;
NotesButtons.Add(btn);


When run
rm.Buttons = NotesButtons;

Throws

Exception thrown: 'System.InvalidCastException' in RadialMenuControl.dll
Additional information: Unable to cast object of type 'System.Int32' to type 'System.String'.

Actually I'm using latest nueget versión.
Coding with VS2015 Update 3
Project type UWP app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant