Inheritence

Summary

A control that has two panes with a splitter in between. You can drag the splitter to change the size of the two panels.

Constructors

SplitContainer

Fields

MinimumFractionLeft The smallest the left section can be as a fraction (0-1). Also controls the largest the right section can be.
MinimumFractionRight The smallest the right section can be as a fraction (0-1). Also controls the largest the left section can be.

Properties

FractionCookie We can save the position of this splitter in a cookie. To do that set this (or "cookie" in a template). We'll automatically save and restore from the cookie.
IsDragging Returns true if splitter is being dragged
Left The left, or top panel. Has class "split-left".
Right The left, or bottom panel. Has class "split-right".
Splitter The splitter control
Vertical Should this be laid out vertically? If you set this to vertical you should mentally change Left to Top and Right to Bottom.

Methods

OnTemplateSlot You can create child panels in the template by setting attributes on them, like slot="left" to make that panel appear in the left panel.
SetProperty
UpdateSplitFraction Sets the split fraction to this value. Will automatically adjust the value according to MinimumFraction parameters, and will save the new value to cookie.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.