Custom Screen Elements

Custom Screen Elements can be created if none of the predefined Elements match your requirements.

As an Example, a DropdownWithSearchbox is available on GitHub. This Elements combines a Textbox where we can type Text and a Dropdown where predefined entries can be selected.

With the Attribute "ScreenElements" on Class level the Settings are defined which will be later displayed when creating and editing this ScreenElement on a Screen. The "appBasics" and "filters" are always required, the inbetween settings are customizable.

[ScreenElements(
    "appBasics:AppBasics",
    "displayName:string:Name",
    "imageReference:Image:Textbox image",
    "useVisualSense:bool:Use VisualSense",
    "filters:ScreenSelect")]
[DesignerControlColor("DarkPurple")]
public class DropdownWithSearchbox : Dropdown
{
...
}

Last updated