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
90
ItemHeaderTemplate binding not work
posted

I have used this code into my proyect, but there is a problem when i try to put a text into the header of the tiles.

this is the code:

<

 

 

igTiles:XamTilesControl.ItemHeaderTemplate>

 

 

 

 

 

<DataTemplate >

 

 

 

 

<Grid>

 

 

 

 

<Label Content="{Binding prueba}" ></Label>

 

 

 

 

</Grid>

 

 

 

 

</DataTemplate>

 

 

 

 

</igTiles:XamTilesControl.ItemHeaderTemplate>

 

The problem is with the binding of the property "prueba" that not works. The property "prueba" is a String, as we can see on the code behind.

 

 

public

 

 

 

string stringDePrueba = "";

public string

prueba{

 

 

 

get { return stringDePrueba; }

 

 

 

set { stringDePrueba = value; }}

Thank you very much.

  • 138253
    Offline posted

    Hi,

     

    Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.

     

    Thanks again.

  • 90
    posted

    I have resolve the problem . This is the code:

    <igTiles:XamTilesControl Name="XTCVisualizadorItemsNavegacion" ItemsSource="{Binding ListaLectoresRuta,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" HeaderPath="prueba">