FlowLayoutPanel.FlowDirection プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As FlowLayoutPanel Dim value As FlowDirection value = instance.FlowDirection instance.FlowDirection = value
[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 です。


選択した 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

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からFlowLayoutPanel.FlowDirection プロパティを検索する場合は、下記のリンクをクリックしてください。

- FlowLayoutPanel.FlowDirection プロパティのページへのリンク