TitleStyle クラスとは? わかりやすく解説

TitleStyle クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

ゾーン内の Web パーツ コントロールタイトル バースタイル特性指定します

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

Public NotInheritable Class
 TitleStyle
    Inherits TableItemStyle
public sealed class TitleStyle : TableItemStyle
public ref class TitleStyle sealed : public
 TableItemStyle
public final class TitleStyle extends TableItemStyle
public final class TitleStyle extends
 TableItemStyle
解説解説
使用例使用例

TitleStyle クラス宣言によって使用するコード例次に示します次のページコードでは、ゾーン内に <asp:calendar> 要素<asp:label> 要素あります。これにより、実行時に、対応するコントロール実際Web パーツ機能追加されます。複数スタイル属性含んだ <parttitlestyle> 要素が、ゾーン内に含まれる両方Web パーツ コントロールタイトル バー適用されます。

<%@ page Language="vb" %>
<html>
<head id="Head1" runat="server">
  
</head>
<body>
  <form id="Form1" runat="server">
      <asp:webpartmanager id="WebPartManager1"
 runat="server" />
    <asp:webpartzone
      id="WebPartZone1"
      runat="server"
      title="Zone 1">
        <parttitlestyle 
          font-bold="true" 
          BorderWidth="2" 
          ForeColor="#3300cc" />
        <partstyle
          borderwidth="1px"   
          borderstyle="Solid"  
          bordercolor="#81AAF2" />
        <zonetemplate>
          <asp:calendar 
            ID="cal1" 
            Runat="server" 
            Title="My Calendar" />
          <asp:Label id="label1" runat="server"
 
            Title="A WebPart Label">
            The label control acts as a WebPart.
          </asp:Label>
          </zonetemplate>
    </asp:webpartzone>
  </form>
</body>
</html>
<%@ page Language="c#" %>
<html>
<head id="Head1" runat="server">
  
</head>
<body>
  <form id="Form1" runat="server">
      <asp:webpartmanager id="WebPartManager1" runat="server"
 />
    <asp:webpartzone
      id="WebPartZone1"
      runat="server"
      title="Zone 1">
        <parttitlestyle 
          font-bold="true" 
          BorderWidth="2" 
          ForeColor="#3300cc" />
        <partstyle
          borderwidth="1px"   
          borderstyle="Solid"  
          bordercolor="#81AAF2" />
        <zonetemplate>
          <asp:calendar 
            ID="cal1" 
            Runat="server" 
            Title="My Calendar" />
          <asp:Label id="label1" runat="server" 
            Title="A WebPart Label">
            The label control acts as a WebPart.
          </asp:Label>
          </zonetemplate>
    </asp:webpartzone>
  </form>
</body>
</html>
.NET Framework のセキュリティ.NET Frameworkセキュリティ
継承階層継承階層
System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.UI.WebControls.Style
         System.Web.UI.WebControls.TableItemStyle
          System.Web.UI.WebControls.WebParts.TitleStyle
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「TitleStyle クラス」の関連用語

TitleStyle クラスのお隣キーワード
検索ランキング

   

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



TitleStyle クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS