Click here to Skip to main content
14,423,206 members

Silverlight / WPF

 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 15:48
MemberMycroft Holmes27-Dec-19 15:48 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois27-Dec-19 15:53
professionalKevin Marois27-Dec-19 15:53 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 16:20
MemberMycroft Holmes27-Dec-19 16:20 
AnswerRe: MenuButton CanExecute Firing Wrong Pin
Richard Deeming7-Jan-20 9:53
communityengineerRichard Deeming7-Jan-20 9:53 
AnswerMessage Closed Pin
9-Jan-20 12:33
Memberamcic19909-Jan-20 12:33 
QuestionWPF Pin
MrsealIsHotChicken18-Dec-19 15:41
MemberMrsealIsHotChicken18-Dec-19 15:41 
AnswerRe: WPF Pin
Gerry Schmitz19-Dec-19 8:11
mveGerry Schmitz19-Dec-19 8:11 
QuestionDataGrid Column Right Aligned Pin
Kevin Marois16-Nov-19 14:45
professionalKevin Marois16-Nov-19 14:45 
Here's my code:
<DataGridTextColumn Header="PO Cost" 
                    Binding="{Binding Total, StringFormat=C, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                    Width="100"
                    IsReadOnly="True">

<pre>
<DataGridTextColumn.HeaderStyle>
    <Style TargetType="DataGridColumnHeader">
        <Setter Property="HorizontalContentAlignment" Value="Right" />
    </Style>
</DataGridTextColumn.HeaderStyle>

<DataGridTextColumn.ElementStyle>
    <Style TargetType="{x:Type TextBlock}">
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>
</DataGridTextColumn.ElementStyle>




The problem is that the header style changes the way the header looks. Here is a screen shot: https://1drv.ms/u/s!AjBmoYAYz_v2ghvO9qNjDcOFvZGh?e=feNnPO

Any ideas what's wrong?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: DataGrid Column Right Aligned Pin
Mycroft Holmes16-Nov-19 21:07
MemberMycroft Holmes16-Nov-19 21:07 
AnswerRe: DataGrid Column Right Aligned Pin
Richard Deeming18-Nov-19 0:03
communityengineerRichard Deeming18-Nov-19 0:03 
QuestionWPF C# Make window's the same width as the screen Pin
Acuena3-Nov-19 8:44
MemberAcuena3-Nov-19 8:44 
AnswerRe: WPF C# Make window's the same width as the screen Pin
Richard MacCutchan3-Nov-19 22:45
communityengineerRichard MacCutchan3-Nov-19 22:45 
AnswerRe: WPF C# Make window's the same width as the screen Pin
Richard Deeming3-Nov-19 23:28
communityengineerRichard Deeming3-Nov-19 23:28 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Acuena4-Nov-19 13:31
MemberAcuena4-Nov-19 13:31 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Mycroft Holmes4-Nov-19 19:42
MemberMycroft Holmes4-Nov-19 19:42 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Gerry Schmitz5-Nov-19 6:25
mveGerry Schmitz5-Nov-19 6:25 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Acuena8-Nov-19 6:21
MemberAcuena8-Nov-19 6:21 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Richard Deeming8-Nov-19 7:14
communityengineerRichard Deeming8-Nov-19 7:14 
QuestionDataGrid with DataGridTemplateColumns - Cannot create new rows Pin
Mc_Topaz8-Oct-19 0:42
MemberMc_Topaz8-Oct-19 0:42 
AnswerRe: DataGrid with DataGridTemplateColumns - Cannot create new rows Pin
Gerry Schmitz8-Oct-19 4:11
mveGerry Schmitz8-Oct-19 4:11 
NewsRe: DataGrid with DataGridTemplateColumns - Cannot create new rows Pin
Mc_Topaz8-Oct-19 4:25
MemberMc_Topaz8-Oct-19 4:25 
QuestionWPF Pin
Member 145835423-Oct-19 23:29
MemberMember 145835423-Oct-19 23:29 
AnswerRe: WPF Pin
Richard Deeming4-Oct-19 2:59
communityengineerRichard Deeming4-Oct-19 2:59 
AnswerRe: WPF Pin
Richard MacCutchan4-Oct-19 4:22
communityengineerRichard MacCutchan4-Oct-19 4:22 
AnswerRe: WPF Pin
Gerry Schmitz4-Oct-19 7:32
mveGerry Schmitz4-Oct-19 7:32 

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.