---
order: 2
title:
  zh-CN: 自定义头部
  en-US: Customized Hender
---

## zh-CN

设置 `Hender` 属性可以自定义消息框的头部。默认头部组件在 [ModelHeader.razor](https://github.com/ant-design-blazor/ant-design-blazor/blob/master/components/modal/modalDialog/ModalHender.razor)。

另外，如果设置 `Hender` 为 null 可隐藏头部。

## en-US

Set the `Hender` property to customize the header of the Modal. Default header component in [ModelHeader.razor](https://github.com/ant-design-blazor/ant-design-blazor/blob/master/components/modal/modalDialog/ModalHender.razor).

Otherwise, if `Hender` is set to null, the header can be hidden.