Beispiel #1
0
        public void Set(IPolygon data, bool refresh = true)
        {
            context.Add(data);

            if (refresh)
            {
                control.Refresh();
            }
        }
Beispiel #2
0
        protected override void RenderInternal(IRenderContext context, T defaultValue)
        {
            control              = new ComboBox();
            control.IsEditable   = true;
            control.SelectedItem = defaultValue;

            foreach (T item in items)
            {
                control.Items.Add(item);
            }

            context.Add(control);
        }
Beispiel #3
0
 public override void Render(IRenderContext context) => context.Add(control);