Click here to Skip to main content
15,886,006 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: visualstudio/experssion blend Pin
Oludayo Alli20-Aug-11 8:39
Oludayo Alli20-Aug-11 8:39 
QuestionBind to converter in XAML Pin
_Madmatt13-Jul-11 9:54
_Madmatt13-Jul-11 9:54 
AnswerRe: Bind to converter in XAML [modified] Pin
Mark Salsbery13-Jul-11 11:27
Mark Salsbery13-Jul-11 11:27 
GeneralRe: Bind to converter in XAML Pin
_Madmatt13-Jul-11 23:41
_Madmatt13-Jul-11 23:41 
GeneralRe: Bind to converter in XAML Pin
Pete O'Hanlon14-Jul-11 0:02
mvePete O'Hanlon14-Jul-11 0:02 
GeneralRe: Bind to converter in XAML Pin
_Madmatt14-Jul-11 0:29
_Madmatt14-Jul-11 0:29 
GeneralRe: Bind to converter in XAML Pin
Pete O'Hanlon14-Jul-11 0:53
mvePete O'Hanlon14-Jul-11 0:53 
GeneralRe: Bind to converter in XAML Pin
_Madmatt14-Jul-11 1:27
_Madmatt14-Jul-11 1:27 
It's not even hitting the converter! Frown | :(

Not with this XAML:
<phone:PhoneApplicationPage.Resources>
<DataTemplate x:Key="groupItemTemplate">
            <Border Width="99" Height="99" Background="{Binding Path=., Converter={StaticResource groupItemBackgroundBrush}}" Margin="6" IsHitTestVisible="{Binding HasItems}">
                <TextBlock Text="{Binding GroupTitle}" 
                                       FontFamily="{StaticResource PhoneFontFamilySemiBold}"
                                       FontSize="36"
                                       Margin="{StaticResource PhoneTouchTargetOverhang}"
                                       Foreground="{StaticResource PhoneForegroundBrush}"                                        
                                       VerticalAlignment="Bottom"/>
                <Border.Resources>
                    <valueConverters:TrackGroupToGroupItemBackgroundBrushConverter x:Key="groupItemBackgroundBrush" />
                </Border.Resources>
            </Border>
        </DataTemplate>

        
    </phone:PhoneApplicationPage.Resources>


And not with this one too:

<phone:PhoneApplicationPage.Resources>
    <DataTemplate x:Key="groupItemTemplate"
            <Border Width="99" Height="99" Background="{Binding Path=., Converter={StaticResource groupItemBackgroundBrush}}" Margin="6" IsHitTestVisible="{Binding HasItems}">
                <TextBlock Text="{Binding GroupTitle}" 
                                       FontFamily="{StaticResource PhoneFontFamilySemiBold}"
                                       FontSize="36"
                                       Margin="{StaticResource PhoneTouchTargetOverhang}"
                                       Foreground="{StaticResource PhoneForegroundBrush}"                                        
                                       VerticalAlignment="Bottom"/>
                            </Border>
        </DataTemplate>

<valueConverters:TrackGroupToGroupItemBackgroundBrushConverter x:Key="groupItemBackgroundBrush" />        

    </phone:PhoneApplicationPage.Resources>

GeneralRe: Bind to converter in XAML Pin
skv_lviv14-Jul-11 20:01
skv_lviv14-Jul-11 20:01 
GeneralRe: Bind to converter in XAML Pin
_Madmatt17-Jul-11 0:23
_Madmatt17-Jul-11 0:23 
AnswerRe: Bind to converter in XAML Pin
Abhinav S13-Jul-11 20:44
Abhinav S13-Jul-11 20:44 
GeneralRe: Bind to converter in XAML Pin
_Madmatt13-Jul-11 23:43
_Madmatt13-Jul-11 23:43 
QuestionMembership Role Pin
picasso212-Jul-11 17:24
picasso212-Jul-11 17:24 
AnswerRe: Membership Role Pin
Mark Salsbery13-Jul-11 11:56
Mark Salsbery13-Jul-11 11:56 
GeneralRe: Membership Role Pin
picasso213-Jul-11 20:22
picasso213-Jul-11 20:22 
GeneralRe: Membership Role Pin
Mark Salsbery14-Jul-11 10:50
Mark Salsbery14-Jul-11 10:50 
GeneralRe: Membership Role Pin
Mark Salsbery14-Jul-11 10:55
Mark Salsbery14-Jul-11 10:55 
QuestionWhy does Microsoft do this to me Pin
Tad McClellan12-Jul-11 12:58
professionalTad McClellan12-Jul-11 12:58 
AnswerRe: Why does Microsoft do this to me Pin
Mark Salsbery13-Jul-11 11:51
Mark Salsbery13-Jul-11 11:51 
AnswerRe: Why does Microsoft do this to me Pin
Mycroft Holmes14-Jul-11 12:49
professionalMycroft Holmes14-Jul-11 12:49 
QuestionHow to draw a plus sign and triangles for buttons in WPF? Pin
Member 297299212-Jul-11 10:18
Member 297299212-Jul-11 10:18 
AnswerRe: How to draw a plus sign and triangles for buttons in WPF? Pin
Mark Salsbery12-Jul-11 10:59
Mark Salsbery12-Jul-11 10:59 
GeneralRe: How to draw a plus sign and triangles for buttons in WPF? Pin
Pete O'Hanlon12-Jul-11 11:33
mvePete O'Hanlon12-Jul-11 11:33 
GeneralRe: How to draw a plus sign and triangles for buttons in WPF? Pin
Kunal Chowdhury «IN»20-Jul-11 0:22
professionalKunal Chowdhury «IN»20-Jul-11 0:22 
AnswerRe: How to draw a plus sign and triangles for buttons in WPF? Pin
Oludayo Alli16-Aug-11 3:02
Oludayo Alli16-Aug-11 3: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.