New to Telerik UI for WinFormsStart a free 30-day trial

OverflowPrimitive

Updated over 6 months ago

The OverflowPrimitive is a visual indicator and button that more choices are available. The OverflowPrimitive consists of a triangle and a line just under the base of the triangle. The triangle and line are colored using the ForeColor property. Depending on the Direction property of the arrow, BackColor and ShadowColor may be used.

tpf-primitives-overflowprimitive 001

Creating an OverflowPrimitive

C#
public class MyOverflowPrimitiveElement : RadElement
{
    protected override void CreateChildElements()
    {
        OverflowPrimitive overflowPrimitive = new OverflowPrimitive(ArrowDirection.Down);
        overflowPrimitive.MinSize = new Size(30, 30);
        overflowPrimitive.ForeColor = Color.Blue;
        this.Children.Add(overflowPrimitive);
        base.CreateChildElements();
    }
}

See Also

In this article
See Also
Not finding the help you need?
Contact Support