Browse by Tags
All Tags » "Data Bind... » Binding (RSS)
Showing page 1 of 2 (12 total posts)
-
Hi,
I've created a class called Choices that represent a ComboxBox. Choices has public List and Value properties to bind a combo box (list of choices and selected value).
I want to bind a column of the grid on a property returning an instance of this object and I want the editor of a cell to display a working ComboBox based on those ...
-
How to I Binding values from one column to another with using DataTemplate? In C#, not in XAML.
Code:
private void GenerateDataTemplates(int ColumnNumber){ var dt = new DataTemplate(); var spOuterFactory = new FrameworkElementFactory(typeof(StackPanel)); ...
-
I have been trying to bind a DataTable to a ComboBox in Xceed's DataGrid. The ComboBox is in a CellEditor and the ComboBox ends up displaying nothing, it is blank. I have tried all of your examples, and this problem is really exasperating.Please show me the error of my ways. I have code snippets below.Thank you very much for any help.-TedHere is ...
-
Hello,
I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button.
Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel.
How can this be achieved. I thought of RoutedEvents / ...
-
Hi all,
I have a DataGridControl (V3.1) with several columns. 3 Columns have nested properties as their FieldName (like AbsoluteLocation.X). The other columns are not nested.
All properties in my bound object implement INotifyPropertyChanged, even the nested properties.
Lately I noticed that the not-nested properties get updated immediatly when ...
-
I need to display a datagrid with two columns that are bound to the same property. Here is the code I am using but it does not work:
DataGridCollectionView dataGridCollectionView = new DataGridCollectionView(list, typeof(MyData), false, ...
-
Hi,
I am binding DataGridControl by DataGridCollectionViewSource in XAML.
XAML:
<xcdg:DataGridCollectionViewSource x:Key=''cvsSchedule'' Source=''{Binding ElementName=SchedulePage,Path=DtApptsSchedule}'' AutoFilterMode=''And''></xcdg:DataGridCollectionViewSource>
<xcdg:DataGridControl Width=''auto'' Height=''auto'' ...
-
Hi,
I'm trying to bind the title of the column with a StaticResource. It's doesn't give me any error, but the output of the column is EMPTY. Here my code shows the detail of the issue,
<xcdg:Column FieldName=''countryName''>
<xcdg:Column.Title>
<Binding Converter=''{StaticResource FieldLabelConverter}'' ...
-
Ok, I moved my collection to the application and used the sample syntax for binding. Still no data. So in the application I add one row. I see this row, but not the rows my page added even though it does ''DataGridControl1.Items.Refresh()'' , which worked when I bound thru VB code. So, I made one last ...
-
Hi all,
I am binding the grid like below:
<xcdg:DataGridCollectionViewSource x:Key=''cvsImgGrid'' Source=''{Binding ElementName=ImgGrid, Path=Dv,Mode=OneWay}'' AutoFilterMode=''Or'' />
<xcdg:DataGridControl Name=''dataGridControl1'' Width=''Auto'' Height=''Auto'' ItemsSource=''{Binding Source={StaticResource cvsImgGrid}}'' /> ...
1
|
|
|
|