ASPxRoundPanel.HeaderText Property
Gets or sets the text displayed within the RoundPanel’s header.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | "Header" | A string value that specifies the header’s text. |
Remarks
If a specific navigation location is assigned for the panel’s header (via the ASPxRoundPanel.HeaderNavigateUrl property), the header’s text servers as a link. It’s underlined, and a click on it navigates the application to the specified location.
Example
The complete sample project is available in the DevExpress Code Central database at E1120.
...
<dxrp:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="300px"
HeaderText="Delete Confirmation" DefaultButton="btnYes">
<PanelCollection>
<dxp:PanelContent runat="server">
<table>
<tr>
<td rowspan="2">
<dxe:ASPxImage ID="ASPxImage1" runat="server"
ImageUrl="~/Images/img1.png">
</dxe:ASPxImage>
</td>
<td>
<dxe:ASPxLabel ID="ASPxLabel1" runat="server"
Text="Are you sure you want to delete this row?">
</dxe:ASPxLabel>
</td>
</tr>
<tr>
<td>
<dxe:ASPxLabel ID="ASPxLabel2" runat="server" Text="Row ID: " >
</dxe:ASPxLabel>
<dxe:ASPxLabel ID="ASPxLabel3" runat="server"
Text="" ClientInstanceName="lbRowId" Font-Bold="True">
</dxe:ASPxLabel>
</td>
</tr>
</table>
<br/>
<table>
<tr>
<td>
<dxe:ASPxCheckBox ID="cbDontAsk" runat="server"
Text="Don't ask confirmation" ClientInstanceName="cbDontAsk">
<ClientSideEvents CheckedChanged="cbDontAsk_CheckedChanged" />
</dxe:ASPxCheckBox>
</td>
<td style="width:100%">
</td>
<td>
<dxe:ASPxButton ID="btnYes" runat="server" Text="Yes" Width="50px"
AutoPostBack="False" ClientInstanceName="btnYes">
<ClientSideEvents Click="btnYes_Click" />
</dxe:ASPxButton>
</td>
<td>
<dxe:ASPxButton ID="btnNo" runat="server" Text="No"
Width="50px" AutoPostBack="False">
<ClientSideEvents Click="btnNo_Click" />
</dxe:ASPxButton>
</td>
</tr>
</table>
</dxp:PanelContent>
</PanelCollection>
</dxrp:ASPxRoundPanel>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the HeaderText property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.