Click here to Skip to main content
15,912,400 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to Bold a Particular field in a list view Pin
Aslesh10-Jul-08 4:52
Aslesh10-Jul-08 4:52 
GeneralRe: How to Bold a Particular field in a list view Pin
Yajnesh Narayan Behera13-Jul-08 22:03
Yajnesh Narayan Behera13-Jul-08 22:03 
GeneralRe: How to Bold a Particular field in a list view Pin
Aslesh14-Jul-08 2:37
Aslesh14-Jul-08 2:37 
GeneralRe: How to Bold a Particular field in a list view Pin
Yajnesh Narayan Behera14-Jul-08 23:46
Yajnesh Narayan Behera14-Jul-08 23:46 
GeneralRe: How to Bold a Particular field in a list view Pin
Yajnesh Narayan Behera15-Jul-08 0:08
Yajnesh Narayan Behera15-Jul-08 0:08 
GeneralRe: How to Bold a Particular field in a list view Pin
Aslesh15-Jul-08 3:57
Aslesh15-Jul-08 3:57 
GeneralRe: How to Bold a Particular field in a list view Pin
Yajnesh Narayan Behera15-Jul-08 23:21
Yajnesh Narayan Behera15-Jul-08 23:21 
GeneralRe: How to Bold a Particular field in a list view Pin
Aslesh16-Jul-08 4:38
Aslesh16-Jul-08 4:38 
GeneralRe: How to Bold a Particular field in a list view Pin
Yajnesh Narayan Behera16-Jul-08 23:48
Yajnesh Narayan Behera16-Jul-08 23:48 
GeneralRe: How to Bold a Particular field in a list view Pin
Yajnesh Narayan Behera17-Jul-08 0:28
Yajnesh Narayan Behera17-Jul-08 0:28 
GeneralRe: How to Bold a Particular field in a list view Pin
Aslesh17-Jul-08 4:13
Aslesh17-Jul-08 4:13 
QuestionHow to trigger a method after some time span Pin
Aslesh9-Jul-08 8:38
Aslesh9-Jul-08 8:38 
AnswerRe: How to trigger a method after some time span Pin
Christian Graus9-Jul-08 8:42
protectorChristian Graus9-Jul-08 8:42 
GeneralRe: How to trigger a method after some time span Pin
Aslesh10-Jul-08 4:53
Aslesh10-Jul-08 4:53 
QuestionError in capturing Images and Video in same form Pin
Manch Manj8-Jul-08 20:12
Manch Manj8-Jul-08 20:12 
AnswerRe: Error in capturing Images and Video in same form Pin
Pete O'Hanlon8-Jul-08 22:07
mvePete O'Hanlon8-Jul-08 22:07 
GeneralRe: Error in capturing Images and Video in same form Pin
Manch Manj9-Jul-08 20:31
Manch Manj9-Jul-08 20:31 
QuestionShow 3d-mediatype in wpf [modified] Pin
hmshmsm8-Jul-08 1:41
hmshmsm8-Jul-08 1:41 
Questionwpf command parameters Pin
cechode7-Jul-08 9:34
cechode7-Jul-08 9:34 
AnswerRe: wpf command parameters Pin
Gideon Engelberth9-Jul-08 5:06
Gideon Engelberth9-Jul-08 5:06 
QuestionBind Objects to ListView / Grid where Objects hold their Position in Grid [modified] Pin
ezazazel7-Jul-08 4:33
ezazazel7-Jul-08 4:33 
AnswerRe: Bind Objects to ListView / Grid where Objects hold their Position in Grid Pin
Gideon Engelberth9-Jul-08 5:14
Gideon Engelberth9-Jul-08 5:14 
GeneralRe: Bind Objects to ListView / Grid where Objects hold their Position in Grid Pin
ezazazel9-Jul-08 8:51
ezazazel9-Jul-08 8:51 
Thank you for your help. Unfortunately I have to admit that my understanding for WPF is not really existant. So please be so kind a help me a little further.
That's what I tried by now untill I'm stuck again (I know I didn't get that far... but every beginning is kind of hard)
<Window x:Class="TestMatrix.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300"
        xmlns:local="clr-namespace:TestMatrix"
        >

    <Window.Resources>
        <DataTemplate DataType="{x:Type local:MatrixElements}">
            <TextBlock Grid.Row="{Binding PositinX}"
                   Grid.Column="{Binding PositionY}"
                   Text="{Binding Text}"
                   ToolTip="{Binding ToolTip}"></TextBlock>
        </DataTemplate>
    </Window.Resources>
    <DockPanel>
        <UniformGrid x:Name="uGrid" Columns="64" Rows="64">          
        </UniformGrid>
    </DockPanel>
</Window>


I know how to handle this problem the programmatical way:
I inherited my MatrixElement from Textblock and created the Grid by a for i<64 loop to create Column and RowDefinitions. Then I iterated through my list and added the items to the correct grid position.
But after all I would really like to do it in WPF /XAML.

Thank you again for your help, maybe you can spare another few minutes to get me out of this problem.
GeneralRe: Bind Objects to ListView / Grid where Objects hold their Position in Grid Pin
Gideon Engelberth9-Jul-08 12:51
Gideon Engelberth9-Jul-08 12:51 
GeneralRe: Bind Objects to ListView / Grid where Objects hold their Position in Grid Pin
ezazazel10-Jul-08 1:15
ezazazel10-Jul-08 1:15 

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.