This is a migrated thread and some comments may be shown as answers.

Binding data to barcode (WPF)

1 Answer 72 Views
BarCode
This is a migrated thread and some comments may be shown as answers.
siva sankar
Top achievements
Rank 1
siva sankar asked on 04 Jun 2013, 02:13 PM
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 

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 07 Jun 2013, 08:48 AM
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.

Tags
BarCode
Asked by
siva sankar
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or