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

    Hai

          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.


    thanks 

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 07 Jun 2013 Link to this post

    Hi,

    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,
    Ves
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top