ASPxPopupControl.HeaderStyle Property
Gets style settings for a popup window’s header.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public PopupWindowStyle HeaderStyle { get; }
#Property Value
Type | Description |
---|---|
Popup |
A Popup |
#Remarks
The HeaderStyle property provides access to style settings which define the style for a popup window’s header.
Note
If the ASPx
#Example
This example illustrates how to customize an ASPxPopupControl’s header container using particular properties.
<dx:ASPxButton ID="ASPxButton1" runat="server" Text="Show PopUp" AutoPostBack="false">
<ClientSideEvents Click="function (s,e) {popup.Show();}" />
</dx:ASPxButton>
<dx:ASPxPopupControl ID="ASPxPopupControl1" runat="server" ClientInstanceName="popup"
ShowHeader="true" HeaderText="Directed by: Ridley Scott"
HeaderNavigateUrl="http://devexpress.com/">
<HeaderImage Url="Images/new.png" AlternateText="No image">
</HeaderImage>
<HeaderStyle ForeColor="#666677" Font-Size="12px" />
<ContentStyle ForeColor="#666677" Font-Names="Tahoma" Font-Size="10px" />
<ContentCollection>
<dx:PopupControlContentControl runat="server">
<div >
When a Roman general is betrayed and his family murdered by a corrupt prince, he
comes to Rome as a gladiator to seek revenge.</div>
</dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>