SplitterItemsContainerItems Property |
Gets the collection of child items in the KaxSplitter
control.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic SplitterItemsCollection Items { get; }
Public ReadOnly Property Items As SplitterItemsCollection
Get
public:
property SplitterItemsCollection^ Items {
SplitterItemsCollection^ get ();
}
member Items : SplitterItemsCollection with get
Property Value
Type:
SplitterItemsCollection
A
SplitterItemsCollection that represents the children within
the
KaxSplitter control. The default is empty collection.
Remarks
Use this property to retrieve the child items of the KaxSplitter
control. You can also use it to programmatically add or remove items.
Examples
The following example demonstrates how to programmatically add items.
void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
KaxPane pane1 = new KaxPane();
KaxSplitter1.Items.Add(pane1);
KaxSplitbar splitBar1 = new KaxSplitBar();
KaxSplitter1.Items.Add(splitBar1);
KaxPane pane2 = new KaxPane();
KaxSplitter1.Items.Add(pane2);
}
}
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Dim pane1 As KaxPane = New KaxPane()
KaxSplitter1.Items.Add(pane1)
Dim splitBar1 As KaxSplitbar = New KaxSplitBar()
KaxSplitter1.Items.Add(splitBar1)
Dim pane2 As KaxPane = New KaxPane()
KaxSplitter1.Items.Add(pane2)
End If
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also