Skip to content

messagebox控件设置默认值无效 #484

Closed

Description

@BluceBosen

示例demo中,设置MessageBoxInfo.DefaultResult = MessageBoxResult.No;并没打达到预想的效果,直接按Enter键依然得到的是yes,原因是messagebox控件默认这个按钮的IsDefault = true。是否能提供像原生的messagebox那样,能够设置默认值,且该默认值的按钮样式是ButtonPrimary,因为在删除操作时默认为cancel更符合设计理念

Activity

  1. added a commit that references this issue on Mar 2, 2025
    4ef70ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址