ASP.NET Panel BackImageUrl property
Definition and Usage
URL BackImageUrl property sets or returns the Panel control's background image.
grammar
<asp:Panel BackImageUrl="URL" runat="server">
Some Content
</asp:Panel>
Some Content
</asp:Panel>
属性 | 描述 |
---|---|
URL | 要使用的图像的 URL。 |
Examples
The following examples are provided to BackImageUrl Control Panel:
<form runat="server">
<asp:Panel id="Pan1" runat="server" BackImageUrl="img.gif">
Hello!
</asp:Panel>
</form>
<asp:Panel id="Pan1" runat="server" BackImageUrl="img.gif">
Hello!
</asp:Panel>
</form>
The demonstration >>
Control Panel