19.04.2013 Views

IntegralUI TreeListView User Guide - Lidor Systems

IntegralUI TreeListView User Guide - Lidor Systems

IntegralUI TreeListView User Guide - Lidor Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

}<br />

. . .<br />

subItem.Text = "Item " + sufix + j.ToString();<br />

break;<br />

private int RandomValue(int value)<br />

{<br />

Random gen = new Random();<br />

int range = (100 - value);<br />

return gen.Next(range);<br />

}<br />

Also, it is important to menton that when ContentType is set to Control, the visibility of the control<br />

is determined by another property, ContentControlVisibility. There are four ways to show the<br />

control:<br />

• None – the control is not visible<br />

• OnClick – the control will become visible when the subitem is clicked<br />

• OnHover – the control will become visible when mouse hovers over subitem<br />

• AlwaysVisible – the control is visible<br />

How to show custom objects in column<br />

In many cases it’s not enough to show only a single object in column. There are scenarios where<br />

you need to place different objects like text, images, hyperlinks, controls etc. and arrange then in<br />

custom layouts.<br />

34

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!