Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Display Image in HyperlinkColumn
posted

Is it possible to display only an Image in a HyperlinkColumn?  No need to display any text.

Parents
  • 40030
    Verified Answer
    Offline posted

    Hi,

    You can use an UnbounColumn instead:

     <ig:UnboundColumn Key="PageURL">

                                <ig:UnboundColumn.ItemTemplate>

                                    <DataTemplate>

                                        <HyperlinkButton NavigateUri="RowData.PageUrl" >

                                            <Image Source="{Binding RowData.ImageUrl}"/>

                                        </HyperlinkButton>

                                    </DataTemplate>

                                </ig:UnboundColumn.ItemTemplate>

                            </ig:UnboundColumn>

    Hope this helps, 

    -SteveZ

Reply Children