Closed nishy2000 closed 11 months ago
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.
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