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

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

Calendar.ShowTitle プロパティ

タイトル セクション表示するかどうかを示す値を取得または設定します

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

解説解説
使用例使用例

ShowTitle プロパティ使用してタイトル見出しを非表示にする方法次のコード例示します

<%@ Page Language="VB" AutoEventWireup="True"
 %>

<html>
   <script runat="server" >
  
      Sub Check_Change(sender As Object,
 e As EventArgs)
   
         ' Show or hide the title section of the Calendar control
         ' depending on the state of the ShowTitleCheckBox CheckBox
         ' control.
         If ShowTitleCheckBox.Checked Then

            Calendar1.ShowTitle = True

         Else

            Calendar1.ShowTitle = False

         End If

      End Sub
  
   </script>
  
<body>

   <form runat="server">
  
      <h3> Calendar ShowTitle Example </h3>

      Select whether to show or
 hide the title section.

      <br><br> 
  
      <asp:Calendar id="Calendar1" 
           ShowTitle="True"
           runat="server"/>

      <br><br>

      <asp:CheckBox id="ShowTitleCheckBox"
           Text="Show/Hide title section"
           AutoPostBack="True"
           Checked="True"
           OnCheckedChanged="Check_Change"
           runat="server"/>
  
   </form>

</body>
</html>
 
<%@ Page Language="C#" AutoEventWireup="True" %>

<html>
   <script runat="server" >
  
      void Check_Change(Object sender, EventArgs e)
      {
   
         // Show or hide the title section of the Calendar control
         // depending on the state of the ShowTitleCheckBox CheckBox
         // control.
         if (ShowTitleCheckBox.Checked)
         {

            Calendar1.ShowTitle = true;

         }
         else
         {

            Calendar1.ShowTitle = false;

         }

      }
  
   </script>
  
<body>

   <form runat="server">
  
      <h3> Calendar ShowTitle Example </h3>

      Select whether to show or hide the title section.

      <br><br> 
  
      <asp:Calendar id="Calendar1" 
           ShowTitle="True"
           runat="server"/>

      <br><br>

      <asp:CheckBox id="ShowTitleCheckBox"
           Text="Show/Hide title section"
           AutoPostBack="True"
           Checked="True"
           OnCheckedChanged="Check_Change"
           runat="server"/>
  
   </form>

</body>
</html>
 
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からCalendar.ShowTitle プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からCalendar.ShowTitle プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からCalendar.ShowTitle プロパティを検索

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

辞書ショートカット

すべての辞書の索引

「Calendar.ShowTitle プロパティ」の関連用語

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

   

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



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

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

©2024 GRAS Group, Inc.RSS