Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

IconColor property nod found

Open azuken opened this issue 6 years ago • 0 comments

I have a brand new Xamarin Forms project (4.0) and when I try to set IconColor for IconImage control, compilation fail. I've juste make a copy paste from your samples, but impossible to set color...

Here is my code :

<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Test.Views.MenuPage" Title="Menu"
             xmlns:iconize="clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize">
    <StackLayout VerticalOptions="FillAndExpand">
        <ListView x:Name="ListViewMenu" HasUnevenRows="True">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <ViewCell>
                        <Grid Padding="15,20">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="30"/>
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <iconize:IconImage Grid.Column="0"
                                               HeightRequest="20"
                                               Icon="fa-info"
                                               IconColor="#616770"
                                               WidthRequest="20" />
                            <Label Grid.Column="1" Text="{Binding Title}" />
                        </Grid>
                    </ViewCell>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
    </StackLayout>
</ContentPage>

Is there an issue with XF 4 ?

azuken avatar May 31 '19 15:05 azuken