Using ObjectToImageConverter via StaticResource raises an ArgumentNullException exception.
ex) a part of ControlTemplate definition
<ContentPresenter x:Name="iconImage"
HorizontalAlignment="Center"
Height="32"
VerticalAlignment="Center"
Content="{Binding LargeIcon, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource StringToImageConvert}}"
Width="32"
Margin="3,2,3,1"
SnapsToDevicePixels="True">
The issue appears to have occurred when ObjectToImageConverter added support for the MarkupExtension interface.
I will create a pull request for this issue later.
Environment
- Fluent.Ribbon v7.0.0 - v10.0.0
- Windows 10/11
- .NET Framework 4.6.2 / .NET 3.1/.5.0/7.0
Using ObjectToImageConverter via StaticResource raises an ArgumentNullException exception.
ex) a part of ControlTemplate definition
The issue appears to have occurred when ObjectToImageConverter added support for the MarkupExtension interface.
I will create a pull request for this issue later.
Environment