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 パーツ ページ



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



WebPartZoneBase.MenuPopupImageUrl プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS