Hi,
I am trying to develop a wizard. I am trying to inherit a class from WizardPage for make custom WizardPages, and I make this
I am trying to develop a wizard. I am trying to inherit a class from WizardPage for make custom WizardPages, and I make this
public
partial
class
My_WizardPage : WizardPage
{
public
My_WizardPage()
{
}
}
And Xaml
<
telerik:WizardPage
x:Class
=
"My_WizardPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
ButtonsVisibilityMode
=
"Next"
>
<
mycontent
/>
</
telerik:WizardPage
>
That work at Design time, I cant see the view, but if I add this custom page to WizardPages collection from RadWizard nothing happend.
this
.Wizard = pWizard;
WizardPage page =
new
My_WizardPage();
page.DataContext =
this
;(vm)
this
.Wizard.WizardPages.Add(page);
this
.Wizard.SelectedPageIndex = 0;
What am I doing wrong?
Regards!!