1# ColumnSplit 2 3The **\<ColumnSplit>** component lays out child components vertically and inserts a horizontal divider between components. 4 5> **NOTE** 6> 7> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. 8 9 10 11## Child Components 12 13Supported 14 15 16## APIs 17 18ColumnSplit() 19 20 21## Attributes 22 23| Name| Type| Description| 24| -------- | -------- | -------- | 25| resizeable | boolean | Whether the divider can be dragged.<br/>Default value: **false** | 26 27> **NOTE** 28> 29> Similar to **\<RowSplit>**, the divider of **\<ColumnSplit>** can be dragged to a position that just fully holds a component. 30> 31> Dragging is not supported in the Previewer. Check the drag effect on a real device. 32> 33> The universal attributes **clip** and **margin** are not supported. 34 35## Example 36 37```ts 38// xxx.ets 39@Entry 40@Component 41struct ColumnSplitExample { 42 build() { 43 Column(){ 44 Text('The secant line can be dragged').fontSize(9).fontColor(0xCCCCCC).width('90%') 45 ColumnSplit() { 46 Text('1').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 47 Text('2').width('100%').height(50).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 48 Text('3').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 49 Text('4').width('100%').height(50).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 50 Text('5').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 51 } 52 .borderWidth(1) 53 .resizeable(true) // The divider can be dragged. 54 .width('90%').height('60%') 55 }.width('100%') 56 } 57} 58``` 59 60 61