Click here to Skip to main content
15,911,707 members
Home / Discussions / WPF
   

WPF

 
JokeRe: WPF UserControl Library - I'm at a loss Pin
Michael Bookatz23-Apr-09 4:34
Michael Bookatz23-Apr-09 4:34 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
#realJSOP23-Apr-09 4:56
professional#realJSOP23-Apr-09 4:56 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
led mike23-Apr-09 10:05
led mike23-Apr-09 10:05 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
0x3c023-Apr-09 10:21
0x3c023-Apr-09 10:21 
QuestionClearing the screens Pin
Hema Bairavan22-Apr-09 0:28
Hema Bairavan22-Apr-09 0:28 
AnswerRe: Clearing the screens Pin
Jeeva Jose22-Apr-09 3:05
Jeeva Jose22-Apr-09 3:05 
GeneralRe: Clearing the screens Pin
Pete O'Hanlon22-Apr-09 3:39
mvePete O'Hanlon22-Apr-09 3:39 
QuestionHow to get current project path from silverlight page? Pin
salon21-Apr-09 20:24
salon21-Apr-09 20:24 
AnswerRe: How to get current project path from silverlight page? Pin
VCsamir21-Apr-09 23:51
VCsamir21-Apr-09 23:51 
GeneralRe: How to get current project path from silverlight page? Pin
salon22-Apr-09 0:30
salon22-Apr-09 0:30 
GeneralRe: How to get current project path from silverlight page? Pin
Mark Salsbery22-Apr-09 6:52
Mark Salsbery22-Apr-09 6:52 
GeneralRe: How to get current project path from silverlight page? Pin
salon22-Apr-09 18:33
salon22-Apr-09 18:33 
GeneralRe: How to get current project path from silverlight page? Pin
Member 35527122-Aug-10 21:42
Member 35527122-Aug-10 21:42 
GeneralRe: How to get current project path from silverlight page? Pin
nitincn5-Aug-10 1:04
nitincn5-Aug-10 1:04 
QuestionInk Canvas Clipping Pin
VCsamir21-Apr-09 18:50
VCsamir21-Apr-09 18:50 
QuestionRe: Ink Canvas Clipping Pin
Mark Salsbery22-Apr-09 8:41
Mark Salsbery22-Apr-09 8:41 
AnswerRe: Ink Canvas Clipping Pin
VCsamir23-Apr-09 18:45
VCsamir23-Apr-09 18:45 
QuestionRe: Ink Canvas Clipping Pin
Mark Salsbery24-Apr-09 6:47
Mark Salsbery24-Apr-09 6:47 
QuestionWPF - Mirroring content to another window Pin
Kel_21-Apr-09 6:38
Kel_21-Apr-09 6:38 
AnswerRe: WPF - Mirroring content to another window Pin
Insincere Dave21-Apr-09 10:22
Insincere Dave21-Apr-09 10:22 
GeneralRe: WPF - Mirroring content to another window Pin
Kel_21-Apr-09 11:12
Kel_21-Apr-09 11:12 
Thank you for your reply!

Ok so I figured out how to do the mirroring within same Window, something like this:

<Canvas x:Name="RendererCanvas" Background="White" Grid.Column="1" Grid.Row="1" >
            <v:RenderView x:Name="Renderer" Width="300" Height="300" />
        </Canvas>


        <Grid Grid.Column="0" Grid.Row="1" Background="DarkGray">
            <Viewbox Stretch="Uniform" DataContext="{Binding ElementName=Renderer}">
                <Grid Width="{Binding Width}" Height="{Binding Height}">
                    <Grid.Background>
                        <VisualBrush Stretch="Uniform" Visual="{Binding}" />
                    </Grid.Background>
                </Grid>
            </Viewbox>
        </Grid>



Now, would it be possible to do exact same thing but in 2 different windows? So 2 XAML files one binding another.
Maybe with some static fields?



-- Just think in 10 dimensions!

QuestionWPF - Getting target for hyperlink? Pin
David Veeneman21-Apr-09 6:03
David Veeneman21-Apr-09 6:03 
AnswerRe: WPF - Getting target for hyperlink? Pin
David Veeneman24-Apr-09 7:28
David Veeneman24-Apr-09 7:28 
QuestionWpf button problem Pin
Eric Vonjacson21-Apr-09 2:00
Eric Vonjacson21-Apr-09 2:00 
AnswerRe: Wpf button problem Pin
Pauwels Bart21-Apr-09 2:47
Pauwels Bart21-Apr-09 2: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.