Edit this page

Primitives Overview

Primitives are the elements in the control element tree that are painted to the screen when Windows displays a form containing a Telerik RadControl. All primitives are derived from BasePrimitive, a subclass of VisualElement. BasePrimitive adds the virtual PaintPrimitive() method to VisualElement. The descendants of BasePrimitive override this virtual function to draw themselves. Individual primitive classes expose additional properties. For example, the TextPrimitive class includes a Text property, which specifies the text that it will place on the screen. The Telerik Presentation Framework includes the following primitives: