You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use FontImageSource as IconSource in cellbase .I want use dynamic color by DynamicResource ,but the result is not expected:color is not changed .Code is below: <sv:CommandCell > <sv:CommandCell.IconSource> <FontImageSource FontFamily="{DynamicResource IconFontFamily}" Glyph="{x:Static fontIcons:FontIcons.Avatar}" Color="{DynamicResource AvatarColor}"/> </sv:CommandCell.IconSource> </sv:CommandCell>
I do the same work in ImageButton , and the color is changed as expeced. <ImageButton> <ImageButton.Source> <FontImageSource FontFamily="{DynamicResource IconFontFamily}" Glyph="{x:Static fontIcons:FontIcons.Avatar}" Color="{DynamicResource AvatarColor}"/> </ImageButton.Source> </ImageButton>
The text was updated successfully, but these errors were encountered:
Description
I use FontImageSource as IconSource in cellbase .I want use dynamic color by DynamicResource ,but the result is not expected:color is not changed .Code is below:
<sv:CommandCell > <sv:CommandCell.IconSource> <FontImageSource FontFamily="{DynamicResource IconFontFamily}" Glyph="{x:Static fontIcons:FontIcons.Avatar}" Color="{DynamicResource AvatarColor}"/> </sv:CommandCell.IconSource> </sv:CommandCell>
I do the same work in ImageButton , and the color is changed as expeced.
<ImageButton> <ImageButton.Source> <FontImageSource FontFamily="{DynamicResource IconFontFamily}" Glyph="{x:Static fontIcons:FontIcons.Avatar}" Color="{DynamicResource AvatarColor}"/> </ImageButton.Source> </ImageButton>
The text was updated successfully, but these errors were encountered: