public ContextMenu(BladeManager bladeManager, Button target, params Item[] items) { _items = items; _bladeManager = bladeManager; _target = target; target.Click += (_, __) => { Show(); }; this.VisualTree.Add(target); }
public AlertBuilder(BladeManager manager, object body = null, string title = null) { _manager = manager; _body = body; _title = title; }