Parameters
- s
- idx
Return Value
a GoText object that is the new item
public virtual GoText CreateText(String s, int idx) { GoText t = new GoText(); t.Selectable = false; t.Alignment = GoObject.Middle; t.Multiline = true; t.BackgroundOpaqueWhenSelected = true; t.BackgroundColor = Color.LightBlue; t.DragsNode = true; t.Text = s; t.Wrapping = true; if (this.ItemWidth > 0) { t.WrappingWidth = this.ItemWidth; t.Width = this.ItemWidth; } return t; }