We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add or remove Layout groups and image streamer dynamically in TileLayout?

Platform: WinForms |
Control: TileLayout |
Published Date: February 19, 2016 |
Last Revised Date: February 19, 2016

In Tile Layout, the Layout groups and ImageStreamer can be added or removed dynamically in TileLayout by following below steps.

 

Adding an ImageStreamer:

 

  • Need to add the LayoutGroup to TileGroupCollection by using the property named “Groups” in TileLayout.
  • Need to add required control to ControlCollection of the Layout Group.

 

Removing an ImageStreamer:

 

  • Need to iterate the Layout groups.
  • Need to iterate all the controls of the Layout group.
  • Remove the required control from the control collection.

 

The following code example demonstrates the same.

C#

 

VB

 

 

Figure 1. Layout group and Image streamer added dynamically.

Figure 2. Layout group and Image streamer removed dynamically.

Sample Links:

 

C#: TileLayout_Groups_C#

VB: TileLayout_Groups_VB

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon