Edit this page

OverflowPrimitive

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

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();
    }
}

Public Class MyOverflowPrimitiveElement
    Inherits RadElement
    Protected Overrides Sub CreateChildElements()
        Dim overflowPrimitive As New OverflowPrimitive(ArrowDirection.Down)
        overflowPrimitive.MinSize = New Size(30, 30)
        overflowPrimitive.ForeColor = Color.Blue
        Me.Children.Add(overflowPrimitive)
        MyBase.CreateChildElements()
    End Sub
End Class

See Also

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy