diff --git a/Material.Avalonia.Dialogs/DialogHelper.cs b/Material.Avalonia.Dialogs/DialogHelper.cs index 09b412f2..811a77dc 100644 --- a/Material.Avalonia.Dialogs/DialogHelper.cs +++ b/Material.Avalonia.Dialogs/DialogHelper.cs @@ -245,7 +245,7 @@ private static void ApplyBaseParams(T input, DialogWindowBuilderParamsBase @p throw new ArgumentException("Do not wrap Bitmap object with Image control for now."); case Control _: - throw new ArgumentException("Custom view icon feature is currently unavailable."); + throw new NotImplementedException("Custom view icon feature is currently unavailable."); case DialogIconKind kind: { diff --git a/Material.Avalonia.Dialogs/Material.Avalonia.Dialogs.csproj b/Material.Avalonia.Dialogs/Material.Avalonia.Dialogs.csproj index 72f4285e..c2d29f0b 100644 --- a/Material.Avalonia.Dialogs/Material.Avalonia.Dialogs.csproj +++ b/Material.Avalonia.Dialogs/Material.Avalonia.Dialogs.csproj @@ -6,6 +6,8 @@ FavIcon.png netstandard2.0;net8.0 + + Material.Dialog diff --git a/Material.Avalonia.Dialogs/Resources/Naming/PartNames.cs b/Material.Avalonia.Dialogs/Resources/Naming/PartNames.cs deleted file mode 100644 index 2cfa22e5..00000000 --- a/Material.Avalonia.Dialogs/Resources/Naming/PartNames.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace Material.Dialog.Resources.Naming -{ - public static class PartNames - { - public static string PartRootBorder => "PART_RootBorder"; - - public static string PartRootPanel => "PART_RootPanel"; - - public static string PartScrollViewer => "PART_ScrollViewer"; - - public static string PartContentPanel => "PART_ContentPanel"; - - public static string PartSupportingText => "PART_SupportingText"; - - public static string PartContentPresenter => "PART_ContentPresenter"; - - public static string PartTextFieldsContainer => "PART_TextFields"; - - - public static string PartHeaderPanel => "PART_HeaderPanel"; - - public static string PartHeaderIcon => "PART_HeaderIcon"; - - public static string PartHeaderText => "PART_HeaderText"; - - public static string PartButtonsPanel => "PART_ButtonsPanel"; - - - public static string PartButtonPlacement => "PART_ButtonPlacement"; - - public static string PartNeutralButtonPlacement => "PART_NeutralButtonPlacement"; - } -} \ No newline at end of file diff --git a/Material.Avalonia.Dialogs/Styles/EmbeddedDialogControl.axaml b/Material.Avalonia.Dialogs/Styles/EmbeddedDialogControl.axaml index c1a6f533..b3783f97 100644 --- a/Material.Avalonia.Dialogs/Styles/EmbeddedDialogControl.axaml +++ b/Material.Avalonia.Dialogs/Styles/EmbeddedDialogControl.axaml @@ -1,125 +1,126 @@  - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + - - + + \ No newline at end of file diff --git a/Material.Avalonia.Dialogs/Views/AlertDialog.axaml b/Material.Avalonia.Dialogs/Views/AlertDialog.axaml index be99de9b..919ddc75 100644 --- a/Material.Avalonia.Dialogs/Views/AlertDialog.axaml +++ b/Material.Avalonia.Dialogs/Views/AlertDialog.axaml @@ -11,8 +11,9 @@ - - + + - - + +