Menu.DynamicPopOutImageUrl プロパティ
アセンブリ: System.Web (system.web.dll 内)

Dim instance As Menu Dim value As String value = instance.DynamicPopOutImageUrl instance.DynamicPopOutImageUrl = value
/** @property */ public String get_DynamicPopOutImageUrl () /** @property */ public void set_DynamicPopOutImageUrl (String value)
public function get DynamicPopOutImageUrl () : String public function set DynamicPopOutImageUrl (value : String)
動的メニュー項目にサブメニューがあることを示すイメージの URL。既定値は空の文字列 ("") です。このプロパティが設定されていないことを示します。

動的メニュー項目にサブメニューがある場合は、イメージを表示して、ユーザーがメニュー項目の上にマウス ポインタを置くとメニューを展開できることを示すことができます。このイメージは次の 2 つの方法で表示できます。
DynamicPopOutImageUrl プロパティが設定されている場合は、そのイメージが組み込みイメージをオーバーライドします。
![]() |
---|
DynamicPopOutImageUrl プロパティが設定されておらず、DynamicEnableDefaultPopOutImage プロパティが false に設定されている場合は、イメージは表示されません。 |
イメージの代替テキストを指定するには、DynamicPopOutImageTextFormatString プロパティを設定します。

DynamicPopOutImageUrl プロパティを使用して、メニュー項目にサブメニューがあることを示すために動的メニュー項目に表示するカスタム メニューを指定する方法のコード例を次に示します。
<%@ Page Language="VB" %> <html> <body> <form runat="server"> <h3>Menu DynamicPopoutImageText and DynamicPopoutImageUrl Example</h3> <asp:menu id="NavigationMenu" disappearafter="2000" staticdisplaylevels="1" staticsubmenuindent="10" orientation="Vertical" target="_blank" dynamicpopoutimagetext="More..." dynamicpopoutimageurl="Images\Popout.jpg" runat="server"> <items> <asp:menuitem navigateurl="Home.aspx" text="Home" tooltip="Home"> <asp:menuitem navigateurl="Music.aspx" text="Music" tooltip="Music"> <asp:menuitem navigateurl="Classical.aspx" text="Classical" tooltip="Classical"/> <asp:menuitem navigateurl="Rock.aspx" text="Rock" tooltip="Rock"/> <asp:menuitem navigateurl="Jazz.aspx" text="Jazz" tooltip="Jazz"/> </asp:menuitem> <asp:menuitem navigateurl="Movies.aspx" text="Movies" tooltip="Movies"> <asp:menuitem navigateurl="Action.aspx" text="Action" tooltip="Action"/> <asp:menuitem navigateurl="Drama.aspx" text="Drama" tooltip="Drama"/> <asp:menuitem navigateurl="Musical.aspx" text="Musical" tooltip="Musical"/> </asp:menuitem> </asp:menuitem> </items> </asp:menu> </form> </body> </html>
<%@ Page Language="C#" %> <html> <body> <form runat="server"> <h3>Menu StaticPopoutImageText and StaticPopoutImageUrl Example</h3> <asp:menu id="NavigationMenu" staticdisplaylevels="1" staticsubmenuindent="10" orientation="Vertical" target="_blank" staticpopoutimagetext="More..." staticpopoutimageurl="Images\Popout.jpg" runat="server"> <items> <asp:menuitem navigateurl="Home.aspx" text="Home" tooltip="Home"> <asp:menuitem navigateurl="Music.aspx" text="Music" tooltip="Music"> <asp:menuitem navigateurl="Classical.aspx" text="Classical" tooltip="Classical"/> <asp:menuitem navigateurl="Rock.aspx" text="Rock" tooltip="Rock"/> <asp:menuitem navigateurl="Jazz.aspx" text="Jazz" tooltip="Jazz"/> </asp:menuitem> <asp:menuitem navigateurl="Movies.aspx" text="Movies" tooltip="Movies"> <asp:menuitem navigateurl="Action.aspx" text="Action" tooltip="Action"/> <asp:menuitem navigateurl="Drama.aspx" text="Drama" tooltip="Drama"/> <asp:menuitem navigateurl="Musical.aspx" text="Musical" tooltip="Musical"/> </asp:menuitem> </asp:menuitem> </items> </asp:menu> </form> </body> </html>

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からMenu.DynamicPopOutImageUrl プロパティを検索する場合は、下記のリンクをクリックしてください。

- Menu.DynamicPopOutImageUrl プロパティのページへのリンク