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

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

FlowLayoutPanel.FlowDirection プロパティ

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

FlowLayoutPanel コントロールフロー方向を示す値を取得または設定します

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

<LocalizableAttribute(True)> _
Public Property FlowDirection As
 FlowDirection
Dim instance As FlowLayoutPanel
Dim value As FlowDirection

value = instance.FlowDirection

instance.FlowDirection = value
[LocalizableAttribute(true)] 
public FlowDirection FlowDirection { get; set;
 }
[LocalizableAttribute(true)] 
public:
property FlowDirection FlowDirection {
    FlowDirection get ();
    void set (FlowDirection value);
}
/** @property */
public FlowDirection get_FlowDirection ()

/** @property */
public void set_FlowDirection (FlowDirection
 value)
public function get FlowDirection
 () : FlowDirection

public function set FlowDirection
 (value : FlowDirection)

プロパティ
パネル内のコントロール連続した配置方向を示す FlowDirection 値の 1 つ既定値は LeftToRight です。

解説解説

FlowDirection プロパティは、FlowLayoutPanel クラス既定プロパティです。

使用例使用例

選択した RadioButton に応じて FlowDirection の値を設定するコードの例次に示します

Private Sub flowTopDownBtn_CheckedChanged(
 _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles flowTopDownBtn.CheckedChanged

    Me.FlowLayoutPanel1.FlowDirection = FlowDirection.TopDown

End Sub

Private Sub flowBottomUpBtn_CheckedChanged(
 _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles flowBottomUpBtn.CheckedChanged

    Me.FlowLayoutPanel1.FlowDirection = FlowDirection.BottomUp

End Sub

Private Sub flowLeftToRight_CheckedChanged(
 _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles flowLeftToRight.CheckedChanged

    Me.FlowLayoutPanel1.FlowDirection = FlowDirection.LeftToRight

End Sub

Private Sub flowRightToLeftBtn_CheckedChanged(
 _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles flowRightToLeftBtn.CheckedChanged

    Me.FlowLayoutPanel1.FlowDirection = FlowDirection.RightToLeft

End Sub
private void flowTopDownBtn_CheckedChanged(
    System.Object sender, 
    System.EventArgs e)
{
    this.FlowLayoutPanel1.FlowDirection = FlowDirection.TopDown;
}

private void flowBottomUpBtn_CheckedChanged(
    System.Object sender, 
    System.EventArgs e)
{
    this.FlowLayoutPanel1.FlowDirection = FlowDirection.BottomUp;
}

private void flowLeftToRight_CheckedChanged(
    System.Object sender, 
    System.EventArgs e)
{
    this.FlowLayoutPanel1.FlowDirection = FlowDirection.LeftToRight;
}

private void flowRightToLeftBtn_CheckedChanged(
    System.Object sender, 
    System.EventArgs e)
{
    this.FlowLayoutPanel1.FlowDirection = FlowDirection.RightToLeft;
}
private:
    void flowTopDownBtn_CheckedChanged(System::Object^ sender
,
        System::EventArgs^ e)
    {
        this->flowLayoutPanel1->FlowDirection = FlowDirection::TopDown;
    }

private:
    void flowBottomUpBtn_CheckedChanged(System::Object^ sender
,
        System::EventArgs^ e)
    {
        this->flowLayoutPanel1->FlowDirection = FlowDirection::BottomUp;
    }

private:
    void flowLeftToRight_CheckedChanged(System::Object^ sender
,
        System::EventArgs^ e)
    {
        this->flowLayoutPanel1->FlowDirection =
            FlowDirection::LeftToRight;
    }

private:
    void flowRightToLeftBtn_CheckedChanged(
        System::Object^ sender, System::EventArgs^ e)
    {
        this->flowLayoutPanel1->FlowDirection =
            FlowDirection::RightToLeft;
    }
private void flowTopDownBtn_CheckedChanged(Object
 sender,
    System.EventArgs e)
{
    this.flowLayoutPanel1.set_FlowDirection(FlowDirection.TopDown);
} //flowTopDownBtn_CheckedChanged

private void flowBottomUpBtn_CheckedChanged(Object
 sender,
    System.EventArgs e)
{
    this.flowLayoutPanel1.set_FlowDirection(FlowDirection.BottomUp);
} //flowBottomUpBtn_CheckedChanged

private void flowLeftToRight_CheckedChanged(Object
 sender, 
    System.EventArgs e)
{
    this.flowLayoutPanel1.set_FlowDirection(FlowDirection.LeftToRight);
} //flowLeftToRight_CheckedChanged

private void flowRightToLeftBtn_CheckedChanged(Object
 sender,
    System.EventArgs e)
{
    this.flowLayoutPanel1.set_FlowDirection(FlowDirection.RightToLeft);
} //flowRightToLeftBtn_CheckedChanged
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FlowLayoutPanel クラス
FlowLayoutPanel メンバ
System.Windows.Forms 名前空間
WrapContents


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

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

辞書ショートカット

すべての辞書の索引

「FlowLayoutPanel.FlowDirection プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS