xceed-datagrid

Xceed datagrid showing combobox

不羁岁月 提交于 2020-01-14 05:28:13
问题 I wanted to use "Xceed DataGrid for WPF" community edition to show items in WPF application that are already coming correct for a Propertygrid. The textbox (first name) is working fine, but combobox is not working. Problem is combobox is not populating anything and it is not setting the gender correctly. My simple code is given below. XAML: <Window.Resources> <xcdg:DataGridCollectionViewSource x:Key="mySource" Source="{Binding Path=SelectedEntity}" /> </Window.Resources> <Grid> <xcdg

Xceed DataGrid Resets ScrollBar Position

六眼飞鱼酱① 提交于 2019-12-11 01:04:52
问题 When I change the ItemsSource in the Xceed DataGridControl my vertical and horizontal scroll bars immediately get reset to the top/left. Any ideas how to prevent that from happening? 回答1: I finally fixed and figured out why my scrollbars jump to the top/left each time my DataGrid refreshes. Turns out the XAML binded to the View instead of to an actual datasource (DataView), thus each refresh replaced the view and the datasource. As a result of binding to a DataView, my scrollbars no longer

Prefix 'xcdg' does not map to a namespace

自古美人都是妖i 提交于 2019-12-10 17:17:57
问题 I recently started playing with DataGridControl from Extended WPF Toolkit <Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource SampleDataSource}}"> <xcdg:DataGridControl ItemsSource="{Binding Orders}" SelectionMode="Single" > <xcdg:DataGridControl.View> <xcdg:TableflowView FixedColumnCount="1" UseDefaultHeadersFooters="True" ShowRowSelectorPane="False" VerticalGridLineBrush="Green" VerticalGridLineThickness="2" HorizontalGridLineBrush="Purple" HorizontalGridLineThickness="2"

Change the color of a grid header using Xceed Datagrid in WPF

◇◆丶佛笑我妖孽 提交于 2019-12-08 10:04:25
问题 I am using the Xceed data grid control and I am trying to change the header colors, but seem to be having some trouble. What I have right now is the following code snippet: Style style = new Style(typeof(ColumnManagerRow)); style.Setters.Add(new Setter(ColumnManagerRow.BackgroundProperty, Brushes.Black)); this.grid.Resources[typeof(ColumnManagerRow)] = style; This works for the most part, but I am still seeing some gray around it. Any help would be greatly appreciated. EDIT I've added an

How to add ComboBox column in XCeed DataGridControl (WPF)

本小妞迷上赌 提交于 2019-12-06 13:51:38
问题 I am trying to add a combobox column in XCeeds DataGridControl . Managed to make a CellEditor , which sets proper values to the binded field, but there are problems with the CellContent template. Xaml : <Grid> <Grid.RowDefinitions> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> <xcdg:DataGridControl ItemsSource="{Binding Address}" > <xcdg:DataGridControl.Columns> <xcdg:Column x:Name="clmAdd"