-
Notifications
You must be signed in to change notification settings - Fork 804
Description
Describe the bug
IsSecondaryButtonEnabled is not updating
<ContentDialog x:Class="CLIO.ContentDialogs.MergeDocumentsToolContentDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ctkControls="using:CommunityToolkit.WinUI.UI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.UI.Converters" IsPrimaryButtonEnabled="{x:Bind ViewModel.EnableDialogButtons, Mode=TwoWay}" IsSecondaryButtonEnabled="{x:Bind ViewModel.EnableDialogButtons, Mode=TwoWay}" CornerRadius="10" MinHeight="500" mc:Ignorable="d">
Steps to reproduce the bug
Create a content dialog with both Primary Button Text and Secondary Button Text
Set IsSecondaryButtonEnabled = true;
Set IsSecondaryButtonEnabled = false;
when dialog opens the secondary button is stays Enabled
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response