Closed AncientLust closed 1 month ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
@AncientLust if you bind to the text does the text binding work?
@PureWeen but text binding is exactly what I attached above (File name binded with string property FilterStatusIcon
).
Or I don't get the quesiton, what do you mean?
It's not due to the property casing is it? filterStatusIcon in your VM and FilterStatusIcon in your XAML?
@JayMansel naah, MVVM generates property with capital letter:
public string FilterStatusIcon
{
get => filterStatusIcon;
[global::System.Diagnostics.CodeAnalysis.MemberNotNull("filterStatusIcon")]
set
{
if (!global::System.Collections.Generic.EqualityComparer<string>.Default.Equals(filterStatusIcon, value))
{
OnFilterStatusIconChanging(value);
OnFilterStatusIconChanging(default, value);
OnPropertyChanging(global::CommunityToolkit.Mvvm.ComponentModel.__Internals.__KnownINotifyPropertyChangingArgs.FilterStatusIcon);
filterStatusIcon = value;
OnFilterStatusIconChanged(value);
OnFilterStatusIconChanged(default, value);
OnPropertyChanged(global::CommunityToolkit.Mvvm.ComponentModel.__Internals.__KnownINotifyPropertyChangedArgs.FilterStatusIcon);
}
}
}
It even doesn't work with lower one:
Description
ToolbarItem icon doesn't work with MVVM Binding on iOS
This doesn't work:
While this one does:
Steps to Reproduce
Link to public reproduction project repository
https://github.com/AncientLust/ToolBarItem-icon-binding-issue
Version with bug
8.0.6
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response