Version: 2021.3
LanguageEnglish
  • C#

TwoPaneSplitView Constructor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public TwoPaneSplitView(int fixedPaneIndex, float fixedPaneStartDimension, UIElements.TwoPaneSplitViewOrientation orientation);

Parameters

fixedPaneIndex 0 for setting first child as the fixed pane, 1 for the second child element.
fixedPaneStartDimension Set an inital width or height for the fixed pane.
orientation Orientation of the split view.

Description

Parameterized constructor.