Click here to Skip to main content
15,900,511 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: [WPF] How to Stop an Animation Pin
Venkatesh Mookkan18-May-11 16:19
Venkatesh Mookkan18-May-11 16:19 
GeneralRe: [WPF] How to Stop an Animation Pin
Richard Andrew x6418-May-11 17:44
professionalRichard Andrew x6418-May-11 17:44 
AnswerRe: [WPF] How to Stop an Animation Pin
Abhinav S18-May-11 18:47
Abhinav S18-May-11 18:47 
AnswerRe: [WPF] How to Stop an Animation Pin
Mark Salsbery19-May-11 10:55
Mark Salsbery19-May-11 10:55 
AnswerRe: [WPF] How to Stop an Animation Pin
Minh Hai Phan20-May-11 17:19
Minh Hai Phan20-May-11 17:19 
QuestionNot able to see any 3D objects in Silverlight 5 3D Applications Pin
Joshi, Rushikesh17-May-11 4:53
professionalJoshi, Rushikesh17-May-11 4:53 
AnswerRe: Not able to see any 3D objects in Silverlight 5 3D Applications Pin
Abhinav S17-May-11 19:05
Abhinav S17-May-11 19:05 
QuestionBinding problem Pin
DevUK16-May-11 22:45
DevUK16-May-11 22:45 
AnswerRe: Binding problem Pin
Pete O'Hanlon16-May-11 23:24
mvePete O'Hanlon16-May-11 23:24 
GeneralRe: Binding problem Pin
DevUK16-May-11 23:46
DevUK16-May-11 23:46 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 0:50
mvePete O'Hanlon17-May-11 0:50 
GeneralRe: Binding problem Pin
DevUK17-May-11 0:56
DevUK17-May-11 0:56 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 1:01
mvePete O'Hanlon17-May-11 1:01 
GeneralRe: Binding problem Pin
Tarun.K.S17-May-11 2:21
Tarun.K.S17-May-11 2:21 
AnswerRe: Binding problem Pin
Abhinav S17-May-11 0:12
Abhinav S17-May-11 0:12 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 0:53
mvePete O'Hanlon17-May-11 0:53 
GeneralRe: Binding problem Pin
Abhinav S17-May-11 18:23
Abhinav S17-May-11 18:23 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 20:28
mvePete O'Hanlon17-May-11 20:28 
AnswerRe: Binding problem Pin
yesotaso23-May-11 22:31
yesotaso23-May-11 22:31 
QuestionThread Issue: "Import" DrawingGroup Pin
Paul Selormey16-May-11 14:47
Paul Selormey16-May-11 14:47 
AnswerRe: Thread Issue: "Import" DrawingGroup Pin
Mark Salsbery16-May-11 15:44
Mark Salsbery16-May-11 15:44 
GeneralRe: Thread Issue: "Import" DrawingGroup Pin
Paul Selormey16-May-11 15:53
Paul Selormey16-May-11 15:53 
GeneralRe: Thread Issue: "Import" DrawingGroup Pin
Paul Selormey17-May-11 1:02
Paul Selormey17-May-11 1:02 
QuestionHow to modify DataTemplate programmatically? Pin
Tesic Goran16-May-11 1:24
professionalTesic Goran16-May-11 1:24 
Hi,

I'm just wondering how to modify DataTemplate programmatically? Here's my XAML code:

<ListView Grid.Row="2" Name="lstvTCKeyValue" Margin="10,33,10,0" ItemsSource="{Binding}" MouseDoubleClick="lstvTCKeyValue_MouseDoubleClick" KeyDown="lstvTCKeyValue_KeyDown" SelectionChanged="lstvTCKeyValue_SelectionChanged" GridViewColumnHeader.Click="lstvTCKeyValue_Click">
    <ListView.ItemContainerStyle>
        <Style TargetType="ListViewItem">
            <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
            <Setter Property="VerticalContentAlignment" Value="Stretch"></Setter>
        </Style>
    </ListView.ItemContainerStyle>
    <ListView.Resources>
        <DataTemplate x:Key="Column1">
            <Border BorderThickness="0,0,1,0" BorderBrush="Gray" Margin="-6,0,-6,0">
                <TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding Path=test_config_key}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Path=test_config_key}"></TextBlock>
                    </TextBlock.ToolTip>
                </TextBlock>
            </Border>
        </DataTemplate>


I'd like to modify border settings of data template named "Column1".

Thank you in advance.

Goran
AnswerRe: How to modify DataTemplate programmatically? Pin
Abhinav S16-May-11 2:04
Abhinav S16-May-11 2:04 

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.