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

Dim instance As Menu Dim value As String value = instance.StaticPopOutImageTextFormatString instance.StaticPopOutImageTextFormatString = value
public: property String^ StaticPopOutImageTextFormatString { String^ get (); void set (String^ value); }
/** @property */ public String get_StaticPopOutImageTextFormatString () /** @property */ public void set_StaticPopOutImageTextFormatString (String value)
public function get StaticPopOutImageTextFormatString () : String public function set StaticPopOutImageTextFormatString (value : String)
ポップアウト イメージの代替テキスト。既定値は空の文字列 ("") です。このプロパティが設定されていないことを示します。

静的メニュー項目にサブメニューが含まれている場合は、イメージを表示して、ユーザーがメニューを展開できることを示します。このイメージの代替テキストを指定するには、StaticPopOutImageTextFormatString プロパティを使用します。
![]() |
---|

StaticPopOutImageTextFormatString プロパティを使用して、静的メニュー項目にサブメニューがあることを示すイメージの代替テキストを指定する方法のコード例を次に示します。ユーザーがマウス ポインタをイメージの上に置くと、このテキストがツールヒントとして表示されます。
<%@ Page Language="VB" %> <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>
<%@ 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.StaticPopOutImageTextFormatString プロパティを検索する場合は、下記のリンクをクリックしてください。

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