TabAppearance 列挙体とは? わかりやすく解説

TabAppearance 列挙体

タブ コントロールタブ外観指定します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Dim instance As TabAppearance
public enum TabAppearance
public enum class TabAppearance
public enum TabAppearance
public enum TabAppearance
メンバメンバ
解説解説

この列挙体は、TabControl.Appearance などのメンバ使用されます。

使用例使用例

TabControl.Alignment プロパティTabControl.Appearance プロパティ、TabAlignment 列挙体、および TabAppearance 列挙体の使用方法次のコード例示します。この例を実行するには、TabControl1 という名前の TabControl が配置されているフォームに、次のコード貼り付けます。そして、フォームコンストラクタまたは Load メソッドで ChangeTheLookOfTheTabControl メソッド呼び出します。

Private Sub ChangeTheLookOfTheTabControl()

    ' Set the size and location of the TabControl.
    Me.TabControl1.Location = New System.Drawing.Point(20,
 20)
    TabControl1.Size = New System.Drawing.Size(250, 250)

    ' Align the tabs along the bottom of the control.
    TabControl1.Alignment = TabAlignment.Bottom

    ' Change the tabs to flat buttons.
    TabControl1.Appearance = TabAppearance.FlatButtons
End Sub
private void ChangeTheLookOfTheTabControl()
{

    // Set the size and location of the TabControl.
    this.TabControl1.Location = new System.Drawing.Point(20,
 20);
    TabControl1.Size = new System.Drawing.Size(250, 250);

    // Align the tabs along the bottom of the control.
    TabControl1.Alignment = TabAlignment.Bottom;

    // Change the tabs to flat buttons.
    TabControl1.Appearance = TabAppearance.FlatButtons;
}
private:
   void ChangeTheLookOfTheTabControl()
   {
      // Set the size and location of the TabControl.
      this->TabControl1->Location = System::Drawing::Point(
 20, 20 );
      TabControl1->Size = System::Drawing::Size( 250, 250 );
      
      // Align the tabs along the bottom of the control.
      TabControl1->Alignment = TabAlignment::Bottom;
      
      // Change the tabs to flat buttons.
      TabControl1->Appearance = TabAppearance::FlatButtons;
   }
private void ChangeTheLookOfTheTabControl()
{
    // Set the size and location of the TabControl.
    this.tabControl1.set_Location(new System.Drawing.Point(20,
 20));
    tabControl1.set_Size(new System.Drawing.Size(250, 250));
    // Align the tabs along the bottom of the control.
    tabControl1.set_Alignment(TabAlignment.Bottom);
    // Change the tabs to flat buttons.
    tabControl1.set_Appearance(TabAppearance.FlatButtons);
} //ChangeTheLookOfTheTabControl
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「TabAppearance 列挙体」の関連用語

TabAppearance 列挙体のお隣キーワード
検索ランキング

   

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



TabAppearance 列挙体のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS