This project has moved. For the latest updates, please go here.
2
Vote

Adding CommandLinks through XAML

description

Add a parameterless public constructor to TaskDialogButtonData, so this kind of initialization would be possible:
 
<av:TaskDialog>
    <av:TaskDialog.CommandLinks>
        <av:TaskDialogButtonData Value="1" Header="Yes, do it" />
        <av:TaskDialogButtonData Value="2" Header="No, thanks" IsDefault="True" />
    </av:TaskDialog.CommandLinks>
</av:TaskDialog>

comments