Add DataTrigger to WizardPage

Jun 10, 2011 at 11:42 PM
Edited Jun 10, 2011 at 11:43 PM


I'm trying to add a DataTrigger to a WizardPage so that the Next button isn't enabled unless a certain property of a certain control has a certain value.  Whenever I set the Style property of the WizardPage, the contents disappear from the designer.  Is it even possible to do what I want?  I'm using XAML like the following:


			<DataTrigger Binding="{Binding ElementName=lbxPlayers,Path=Items.Count}" Value="0">
				<Setter Property="aw:WizardPage.AllowNext" Value="False" />