Click here to Skip to main content
15,880,392 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Installer Project Problem Pin
Kevin Marois16-Mar-20 6:36
professionalKevin Marois16-Mar-20 6:36 
AnswerRe: Installer Project Problem Pin
Richard Deeming16-Mar-20 9:37
mveRichard Deeming16-Mar-20 9:37 
GeneralRe: Installer Project Problem Pin
Kevin Marois16-Mar-20 10:57
professionalKevin Marois16-Mar-20 10:57 
GeneralRe: Installer Project Problem Pin
Mycroft Holmes16-Mar-20 11:05
professionalMycroft Holmes16-Mar-20 11:05 
QuestionAForge VideoSourcePlayer Pin
Kevin Marois11-Mar-20 13:56
professionalKevin Marois11-Mar-20 13:56 
AnswerRe: AForge VideoSourcePlayer Pin
Member 1578352130-Sep-22 19:27
Member 1578352130-Sep-22 19:27 
QuestionTextBox DynamicResource Not Working Pin
Kevin Marois19-Feb-20 8:39
professionalKevin Marois19-Feb-20 8:39 
QuestionDock DataGrid's column to the right Pin
Mc_Topaz9-Feb-20 21:46
Mc_Topaz9-Feb-20 21:46 
I have this DataGrid with three columns:
HTML
<DataGrid>
    <DataGrid.Columns>
        <DataGridTextColumn Header="Col1" Width="100" />
        <DataGridTextColumn Header="Col2" Width="Auto" />
        <DataGridTextColumn Header="Col3" Width="100" />
    </DataGrid.Columns>
</DataGrid>
I would like 'Col3' to always be at the right side of the DataGris regardless how wide the DataGrid is.
Since 'Col1' and 'Col3' has fixed widths, 'Col2' is free to dynamically change width.

Is this possible to "Dock" 'Col3' to the right side of the DataGrid?




I'm looking for a solution simular to a DockPanel:
HTML
<DataGrid LastChildFill="true">
    <Label Content="Col1" DockPanel.Dock="Left" />
    <Label Content="Col3" DockPanel.Dock="Right" />
    <Label Content="Col2" />
</DockPanel>

AnswerRe: Dock DataGrid's column to the right Pin
Gerry Schmitz10-Feb-20 2:33
mveGerry Schmitz10-Feb-20 2:33 
AnswerRe: Dock DataGrid's column to the right Pin
Richard Deeming10-Feb-20 8:55
mveRichard Deeming10-Feb-20 8:55 
GeneralRe: Dock DataGrid's column to the right Pin
Mc_Topaz10-Feb-20 21:24
Mc_Topaz10-Feb-20 21:24 
Question[WPF] Datagrid With Dynamic column Pin
mjaniaut4-Feb-20 19:57
mjaniaut4-Feb-20 19:57 
AnswerRe: [WPF] Datagrid With Dynamic column Pin
Gerry Schmitz4-Feb-20 21:21
mveGerry Schmitz4-Feb-20 21:21 
AnswerRe: [WPF] Datagrid With Dynamic column Pin
Richard Deeming5-Feb-20 0:48
mveRichard Deeming5-Feb-20 0:48 
QuestionIm new bie help me fix 1 erorr on wpf, i cant do it? Pin
Member 1468037212-Jan-20 16:07
Member 1468037212-Jan-20 16:07 
GeneralRe: Im new bie help me fix 1 erorr on wpf, i cant do it? Pin
Richard MacCutchan12-Jan-20 22:12
mveRichard MacCutchan12-Jan-20 22:12 
AnswerRe: Im new bie help me fix 1 erorr on wpf, i cant do it? Pin
ZurdoDev13-Jan-20 1:07
professionalZurdoDev13-Jan-20 1:07 
QuestionRoutedEvent Pass EventArg Pin
Kevin Marois11-Jan-20 16:42
professionalKevin Marois11-Jan-20 16:42 
AnswerRe: RoutedEvent Pass EventArg Pin
Gerry Schmitz11-Jan-20 20:24
mveGerry Schmitz11-Jan-20 20:24 
GeneralRe: RoutedEvent Pass EventArg Pin
Kevin Marois12-Jan-20 10:05
professionalKevin Marois12-Jan-20 10:05 
GeneralRe: RoutedEvent Pass EventArg Pin
Gerry Schmitz13-Jan-20 13:23
mveGerry Schmitz13-Jan-20 13:23 
GeneralRe: RoutedEvent Pass EventArg Pin
Kevin Marois14-Jan-20 5:18
professionalKevin Marois14-Jan-20 5:18 
GeneralRe: RoutedEvent Pass EventArg Pin
Kevin Marois14-Jan-20 5:43
professionalKevin Marois14-Jan-20 5:43 
AnswerRe: RoutedEvent Pass EventArg Pin
Richard Deeming13-Jan-20 8:00
mveRichard Deeming13-Jan-20 8:00 
GeneralRe: RoutedEvent Pass EventArg Pin
Kevin Marois14-Jan-20 9:02
professionalKevin Marois14-Jan-20 9:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.