The Left
property of the SplitContainer
class represents the left or top panel of the split container. This panel is styled with the CSS class "split-left"
. It is a public instance property of type Sandbox.UI.Panel
.
The Left
property of the SplitContainer
class represents the left or top panel of the split container. This panel is styled with the CSS class "split-left"
. It is a public instance property of type Sandbox.UI.Panel
.
To access the left panel of a SplitContainer
, you can use the Left
property. This allows you to manipulate or retrieve information about the left panel directly. For example, you can add child elements to this panel or modify its properties.
// Example of accessing the Left panel of a SplitContainer var splitContainer = new SplitContainer(); var leftPanel = splitContainer.Left; // Add a new UI element to the left panel leftPanel.AddChild(new Label("This is the left panel")); // Set a property on the left panel leftPanel.Style.Set("background-color", "lightblue");