Hi List,
i have the following XAML:
<Window x:Class="ICSharpCode.Reporting.Addin.ReportWizard.Dialog.ReportWizard"
The binding to Title is working, but i'm not able to bind to CurrentPage.
Any idea's ?????
Thanks in advance
Peter
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 xamlMy 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