Binding data to barcode (WPF)

2 posts, 0 answers
  1. siva sankar
    siva sankar avatar
    26 posts
    Member since:
    Mar 2011

    Posted 04 Jun 2013 Link to this post


          I need how to bind the data to a barcode(WPF) from entity context.

    for example 
    using(nothwindentites context = new nothwindentites ())

    by using this context i want to bind the CustomerID to Barcode from CustomerTable.


  2. Ves
    Ves avatar
    2926 posts

    Posted 07 Jun 2013 Link to this post


    Text property is a DependenceyProperty, so you will have no problems binding it:

    <telerik:RadBarcode11 Text="{Binding MyDataContext, Path=MyTextProperty}" ... />

    It will not depend on the way data context is retrieved.

    Best regards,

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top