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

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

SplitContainer.FixedPanel プロパティ

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

コンテナサイズ変更されてもサイズ変更されない SplitContainer パネル取得または設定します

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

Public Property FixedPanel As
 FixedPanel
Dim instance As SplitContainer
Dim value As FixedPanel

value = instance.FixedPanel

instance.FixedPanel = value
public FixedPanel FixedPanel { get; set;
 }
public:
property FixedPanel FixedPanel {
    FixedPanel get ();
    void set (FixedPanel value);
}
/** @property */
public FixedPanel get_FixedPanel ()

/** @property */
public void set_FixedPanel (FixedPanel value)
public function get FixedPanel
 () : FixedPanel

public function set FixedPanel
 (value : FixedPanel)

プロパティ
FixedPanel の値の 1 つ既定値None です。

例外例外
例外種類条件

InvalidEnumArgumentException

代入された値が、FixedPanel 値ではありません。

解説解説
使用例使用例

次のコード例では、上側パネルコンテナ合わせてサイズ変更されないよう FixedPanel設定されている平方向の分割線を示しますまた、平方向の分割線の他の基本的なプロパティ示します。このコード例は、SplitContainer クラストピック取り上げているコード例一部分です。

' Basic SplitContainer properties.
' This is a horizontal splitter whose top and bottom panels are ListView
 controls. The top panel is fixed.
splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill
' The top panel remains the same size when the form is resized.
splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1
splitContainer2.Location = New System.Drawing.Point(0, 0)
splitContainer2.Name = "splitContainer2"
' Create the horizontal splitter.
splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal
splitContainer2.Size = New System.Drawing.Size(207, 273)
splitContainer2.SplitterDistance = 125
splitContainer2.SplitterWidth = 6
' splitContainer2 is the third control in the tab order.
splitContainer2.TabIndex = 2
splitContainer2.Text = "splitContainer2"
// Basic SplitContainer properties.
// This is a horizontal splitter whose top and bottom panels are ListView
 controls. The top panel is fixed.
splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
// The top panel remains the same size when the form is resized.
splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
splitContainer2.Location = new System.Drawing.Point(0, 0);
splitContainer2.Name = "splitContainer2";
// Create the horizontal splitter.
splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
splitContainer2.Size = new System.Drawing.Size(207, 273);
splitContainer2.SplitterDistance = 125;
splitContainer2.SplitterWidth = 6;
// splitContainer2 is the third control in the tab order.
splitContainer2.TabIndex = 2;
splitContainer2.Text = "splitContainer2";
// Basic SplitContainer properties.
// This is a horizontal splitter whose top and bottom panels are ListView
 controls. The top panel is fixed.
splitContainer2->Dock = System::Windows::Forms::DockStyle::Fill;

// The top panel remains the same size when the form is resized.
splitContainer2->FixedPanel = System::Windows::Forms::FixedPanel::Panel1;
splitContainer2->Location = System::Drawing::Point( 0, 0 );
splitContainer2->Name = "splitContainer2";

// Create the horizontal splitter.
splitContainer2->Orientation = System::Windows::Forms::Orientation::Horizontal;
splitContainer2->Size = System::Drawing::Size( 207, 273 );
splitContainer2->SplitterDistance = 125;
splitContainer2->SplitterWidth = 6;

// splitContainer2 is the third control in the tab order.
splitContainer2->TabIndex = 2;
splitContainer2->Text = "splitContainer2";

// Basic SplitContainer properties.
// This is a horizontal splitter whose top and bottom panels are 
// ListView controls. The top panel is fixed.
splitContainer2.set_Dock(System.Windows.Forms.DockStyle.Fill);

// The top panel remains the same size when the form is resized.
splitContainer2.set_FixedPanel(System.Windows.Forms.
    FixedPanel.Panel1);
splitContainer2.set_Location(new System.Drawing.Point(0, 0));
splitContainer2.set_Name("splitContainer2");

// Create the horizontal splitter.
splitContainer2.set_Orientation(System.Windows.Forms.
    Orientation.Horizontal);
splitContainer2.set_Size(new System.Drawing.Size(207, 273));
splitContainer2.set_SplitterDistance(125);
splitContainer2.set_SplitterWidth(6);

// splitContainer2 is the third control in the tab order.
splitContainer2.set_TabIndex(2);
splitContainer2.set_Text("splitContainer2");
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SplitContainer クラス
SplitContainer メンバ
System.Windows.Forms 名前空間
FixedPanel 列挙
IsSplitterFixed


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS