WebPartZoneBase.MenuPopupImageUrl プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WebPartZoneBase.MenuPopupImageUrl プロパティの意味・解説 

WebPartZoneBase.MenuPopupImageUrl プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

ゾーン内の各 WebPart コントロールのタイトル バーにある動詞ドロップダウン メニューを開くためのイメージへの URL を取得または設定します。

名前空間: System.Web.UI.WebControls.WebParts
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Overridable Property
 MenuPopupImageUrl As String
Dim instance As WebPartZoneBase
Dim value As String

value = instance.MenuPopupImageUrl

instance.MenuPopupImageUrl = value
public virtual string MenuPopupImageUrl { get;
 set; }
public:
virtual property String^ MenuPopupImageUrl {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_MenuPopupImageUrl ()

/** @property */
public void set_MenuPopupImageUrl (String value)
public function get MenuPopupImageUrl
 () : String

public function set MenuPopupImageUrl
 (value : String)

プロパティ値
動詞ドロップダウン メニューを開くために使用されるイメージへの URL を表す文字列。既定値は空の文字列 ("") です。

解説解説
使用例使用例

WebPartZone コントロールで、MenuPopupImageUrl プロパティを宣言によって使用するコード例を次に示します。分離コード ソース ファイルおよびこのコードのゾーンを含む .aspx ページなどコード例全体については、WebPartZoneBase クラスの概要を参照してください。

MenuPopupImageUrl プロパティは、宣言型マークアップで割り当てる値を持っています。この値は、WebPartZone2 に影響します。ブラウザにページを読み込んだ後、編集モードに切り替えると、イメージ プレースホルダ (または実際のイメージへのパスを代入した場合はそのイメージ) は、WebPartZone2 のコントロールの動詞メニュー ラベルに表示されます。

<asp:WebPartZone 
  ID="WebPartZone2"
  Runat="server" 
  DragHighlightColor="#00ff00"
  AllowLayoutChange="true"
  EmptyZoneText="Add WebParts to this empty Zone."
  BorderWidth="2"
  BorderColor="DarkBlue"
  BorderStyle="Dashed" 
  MenuLabelText="Verbs Menu" 
  MenuPopupImageUrl="label.gif" >
  <VerbStyle Font-Italic="true" />
  <MenuLabelStyle BackColor="Lime" BorderWidth="1"
  />
  <MenuLabelHoverStyle Font-Bold="true" />
  <MenuVerbHoverStyle BackColor="LightGrey" />
  <MenuVerbStyle Font-Italic="true" /> 
  <ZoneTemplate>
    <asp:Label ID="Label1" Runat="server"
 Title="Date" />
  </ZoneTemplate>
</asp:WebPartZone>
<asp:WebPartZone 
  ID="WebPartZone2"
  Runat="server" 
  DragHighlightColor="#00ff00"
  AllowLayoutChange="true"
  EmptyZoneText="Add WebParts to this empty Zone."
  BorderWidth="2"
  BorderColor="DarkBlue"
  BorderStyle="Dashed" 
  MenuLabelText="Verbs Menu" 
  MenuPopupImageUrl="label.gif" >
  <VerbStyle Font-Italic="true" />
  <MenuLabelStyle BackColor="Lime" BorderWidth="1"  />
  <MenuLabelHoverStyle Font-Bold="true" />
  <MenuVerbHoverStyle BackColor="LightGrey" />
  <MenuVerbStyle Font-Italic="true" /> 
  <ZoneTemplate>
    <asp:Label ID="Label1" Runat="server" Title="Date"
 />
  </ZoneTemplate>
</asp:WebPartZone>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WebPartZoneBase クラス
WebPartZoneBase メンバ
System.Web.UI.WebControls.WebParts 名前空間
WebPartZoneBase.MenuLabelStyle プロパティ
その他の技術情報
ASP.NET Web パーツ ページ



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

WebPartZoneBase.MenuPopupImageUrl プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WebPartZoneBase.MenuPopupImageUrl プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS