Questions tagged [datagridcolumn]

A class that presents a data column in a datagrid.

Learn more about datagridcolumn at MSDN.

128 questions
0
votes
1 answer

Giving DataGridTextColumn a static value

In WPF DataGrid, we can bind the DataGridTextColumn value this way. What if I wanted to give a static value for this column. Something like
esege
  • 51
  • 6
0
votes
0 answers

(SOLVED) Trying to add a column to a datatable or removing it using a button does not work

I recently started this new project in XAML / C# using Visual Studio, now for some reason when I try to take user's input by using a Visual Basic InputBox so I can then use the thing the user typed as the name of the column it excecutes the…
EvoCorps
  • 19
  • 2
0
votes
1 answer

Customizing BackColor in XtraGrid DevExpress at VB.net

is it possible to customizing Back Color of specific column in XtraGrid? I wan't to code it because I will using it in a if condition. I coded but it wont work, I checked it the DevExpress Website, I follow the instructions I put imports and so on…
0
votes
4 answers

Wpf - Create a control / element as a resource and use it in XAML

I have multiple DataGrid objects in different tabs of WPF window that share the same columns. I can define a column as a resource like this:
Daniel Möller
  • 84,878
  • 18
  • 192
  • 214
0
votes
0 answers

Create a "responsive" mosaic image width specific columns and rows (CSS Grid)

I'm trying to do something but I don't know if it's actually possible. This is what i would like to do: I want to create the same mosaic image with defined columns and rows for all screens (CSS Grid template). I explain: I have a mosaic image with 5…
WikeC
  • 131
  • 2
  • 10
0
votes
1 answer

WPF Datagrid HeaderColumn Content Alignment

The ContentTemplate code I use for the Datagrid Header is included in the relevant style file as follows: