Click here to Skip to main content
15,899,474 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: Bind Objects to ListView / Grid where Objects hold their Position in Grid Pin
Gideon Engelberth10-Jul-08 3:25
Gideon Engelberth10-Jul-08 3:25 
QuestionrichTextbox to HTML ? [modified] Pin
Mohammad Dayyan5-Jul-08 14:27
Mohammad Dayyan5-Jul-08 14:27 
AnswerRe: richTextbox to HTML ? Pin
Pete O'Hanlon6-Jul-08 4:00
mvePete O'Hanlon6-Jul-08 4:00 
QuestionShow CHM Help File Pin
Jammer5-Jul-08 10:49
Jammer5-Jul-08 10:49 
AnswerRe: Show CHM Help File Pin
Pete O'Hanlon6-Jul-08 8:50
mvePete O'Hanlon6-Jul-08 8:50 
GeneralRe: Show CHM Help File Pin
Jammer6-Jul-08 13:14
Jammer6-Jul-08 13:14 
GeneralRe: Show CHM Help File Pin
Krishnraj31-Jul-08 19:38
Krishnraj31-Jul-08 19:38 
QuestionHandle return(ENTER) pressing on richTextBox in WPF ? [modified] Pin
Mohammad Dayyan4-Jul-08 3:50
Mohammad Dayyan4-Jul-08 3:50 
AnswerRe: Handle return(ENTER) pressing on richTextBox in WPF ? Pin
Pete O'Hanlon4-Jul-08 9:41
mvePete O'Hanlon4-Jul-08 9:41 
GeneralRe: Handle return(ENTER) pressing on richTextBox in WPF ? Pin
Mohammad Dayyan4-Jul-08 9:47
Mohammad Dayyan4-Jul-08 9:47 
GeneralRe: Handle return(ENTER) pressing on richTextBox in WPF ? Pin
Pete O'Hanlon4-Jul-08 10:05
mvePete O'Hanlon4-Jul-08 10:05 
GeneralRe: Handle return(ENTER) pressing on richTextBox in WPF ? Pin
Mohammad Dayyan4-Jul-08 10:19
Mohammad Dayyan4-Jul-08 10:19 
QuestionSilverLight beta 2 Pin
Member 39206674-Jul-08 1:17
Member 39206674-Jul-08 1:17 
AnswerRe: SilverLight beta 2 Pin
Michael Sync4-Jul-08 20:13
Michael Sync4-Jul-08 20:13 
GeneralRe: SilverLight beta 2 Pin
Member 39206676-Jul-08 19:42
Member 39206676-Jul-08 19:42 

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.