Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IconColor property nod found #155

Open
azuken opened this issue May 31, 2019 · 0 comments
Open

IconColor property nod found #155

azuken opened this issue May 31, 2019 · 0 comments

Comments

@azuken
Copy link

azuken commented May 31, 2019

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant