Click here to Skip to main content
15,894,646 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Two-way binding problem Pin
Ravadre18-Jul-09 6:27
Ravadre18-Jul-09 6:27 
GeneralRe: Two-way binding problem Pin
User 27100918-Jul-09 6:34
User 27100918-Jul-09 6:34 
GeneralRe: Two-way binding problem Pin
Ravadre18-Jul-09 7:15
Ravadre18-Jul-09 7:15 
QuestionMessage Removed Pin
16-Jul-09 9:27
professionalN_tro_P16-Jul-09 9:27 
AnswerRe: Visibiltiy Collapse issues Pin
User 27100918-Jul-09 5:29
User 27100918-Jul-09 5:29 
GeneralMessage Removed Pin
20-Jul-09 6:15
professionalN_tro_P20-Jul-09 6:15 
GeneralRe: Visibiltiy Collapse issues Pin
User 27100920-Jul-09 16:51
User 27100920-Jul-09 16:51 
QuestionWhat causes an Expander to expand in the designer Pin
Luke Edwards16-Jul-09 2:33
Luke Edwards16-Jul-09 2:33 
If I add an Expander to my Window then when I click the expander in the design window or go into the XAML for the expander the expander will expand. However if I create my own template for the expander as below (it will expand on mouse over), then it does not expand as it did before. How can I get this to happen?

<Style TargetType="{x:Type Expander}">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="{x:Type Expander}">
                <Border BorderBrush="Black"
                        BorderThickness="1"
                        CornerRadius="3">
                    <Border.Background>
                        <LinearGradientBrush StartPoint="0.5,0"
                                             EndPoint="0.5,1">
                            <GradientStop Color="#22FFFFFF" Offset="0" />
                            <GradientStop Color="#EEFFFFFF" Offset="1" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <HeaderedContentControl>
                        <HeaderedContentControl.Header>
                            <TextBlock Text="{TemplateBinding Header}"
                                       Margin="3" />
                        </HeaderedContentControl.Header>
                        <ContentPresenter x:Name="myContent"
                                          Visibility="Collapsed" />
                    </HeaderedContentControl>
                </Border>
                <ControlTemplate.Triggers>
                    <Trigger Property="IsMouseOver"
                             Value="True">
                        <Setter TargetName="myContent" Property="Visibility" Value="Visible" />
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

AnswerRe: What causes an Expander to expand in the designer Pin
Christian Graus16-Jul-09 7:17
protectorChristian Graus16-Jul-09 7:17 
AnswerRe: What causes an Expander to expand in the designer Pin
Mark Salsbery16-Jul-09 7:50
Mark Salsbery16-Jul-09 7:50 
GeneralRe: What causes an Expander to expand in the designer Pin
Luke Edwards21-Jul-09 5:42
Luke Edwards21-Jul-09 5:42 
QuestionWhat's your [technical] opinion regarding a communications layer in a multi-tier environment? Pin
Stevie15-Jul-09 23:58
Stevie15-Jul-09 23:58 
QuestionHow to derive a DataTable form a WPF Datagrid Pin
Jacobus0115-Jul-09 23:27
Jacobus0115-Jul-09 23:27 
AnswerRe: How to derive a DataTable form a WPF Datagrid Pin
Pete O'Hanlon15-Jul-09 23:33
mvePete O'Hanlon15-Jul-09 23:33 
GeneralRe: How to derive a DataTable form a WPF Datagrid Pin
Jacobus0115-Jul-09 23:41
Jacobus0115-Jul-09 23:41 
GeneralRe: How to derive a DataTable form a WPF Datagrid Pin
Jacobus0116-Jul-09 0:13
Jacobus0116-Jul-09 0:13 
GeneralRe: How to derive a DataTable form a WPF Datagrid Pin
Pete O'Hanlon16-Jul-09 0:29
mvePete O'Hanlon16-Jul-09 0:29 
Questionhow to add children to canvas from viewmodel Pin
gomsvetri15-Jul-09 21:07
gomsvetri15-Jul-09 21:07 
AnswerRe: how to add children to canvas from viewmodel Pin
Michael Sync23-Jul-09 6:52
Michael Sync23-Jul-09 6:52 
QuestionRe: how to add children to canvas from viewmodel Pin
Sevententh14-Oct-09 4:41
Sevententh14-Oct-09 4:41 
AnswerRe: how to add children to canvas from viewmodel Pin
Sevententh14-Oct-09 6:17
Sevententh14-Oct-09 6:17 
QuestionHow to create a Gmail-like label system of Drag and Drop? Pin
Shafique Kassam15-Jul-09 11:20
Shafique Kassam15-Jul-09 11:20 
AnswerRe: How to create a Gmail-like label system of Drag and Drop? Pin
grakenmol15-Jul-09 13:15
professionalgrakenmol15-Jul-09 13:15 
GeneralRe: How to create a Gmail-like label system of Drag and Drop? Pin
Shafique Kassam29-Jul-09 9:24
Shafique Kassam29-Jul-09 9:24 
QuestionHow to access sql server database to display the data using dropdown using WPF and XAML Pin
Krishna Aditya15-Jul-09 3:47
Krishna Aditya15-Jul-09 3:47 

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.