Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Wizard Databinding

$
0
0
Hi List,
i have the following XAML:

<Window x:Class="ICSharpCode.Reporting.Addin.ReportWizard.Dialog.ReportWizard"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
    xmlns:local="clr-namespace:ICSharpCode.Reporting.Addin.ReportWizard.Dialog"
     xmlns:diagnostics="clr-namespace:System.Diagnostics;assembly=WindowsBase"
    Title="{Binding Title}"
    Height="600" Width="600">
<Grid>

<xctk:Wizard x:Name="_wizard" FinishButtonClosesWindow="True"
             CurrentPage="{Binding CurrentPage,
             UpdateSourceTrigger=PropertyChanged,
             diagnostics:PresentationTraceSources.TraceLevel=High }
             CanHelp="False" >
    <local:PageOne></local:PageOne>
......more xaml

My Viewmodel:

public string Title {
        get{ return "das ist der Title";}
    }


    WizardPage currentPage;

    public WizardPage CurrentPage {
        get {return currentPage;}
        set { currentPage = value;}

}

and have Problems with Databinding.
The binding to Title is working, but i'm not able to bind to CurrentPage.
Any idea's ?????

Thanks in advance
Peter

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>