private void goToNodeFromMemberButton_Click(object sender, EventArgs e) { ProxyPropertyBase proxy = memberListBox.SelectedItems.Cast <ProxyPropertyBase>().FirstOrDefault(); if (proxy == null) { return; } MyNode node = DashboardViewModel.GetProperty(proxy.PropertyId).Node; GoToNode(sender, node); }
public virtual void RemoveProperty(ProxyPropertyBase proxy) { Dashboard.Remove(proxy.GenericSourceProperty as TProperty); }
public override void RemoveProperty(ProxyPropertyBase proxy) { Dashboard.Get(proxy.PropertyId).Clear(); base.RemoveProperty(proxy); }
protected override PropertyDescriptor GetDescriptor(DashboardPropertyGroup property, Attribute[] attributes) { ProxyPropertyBase proxy = property.GenericProxy; return(new ProxyPropertyDescriptor(ref proxy, attributes)); }
public ProxyPropertyDescriptor(ref ProxyPropertyBase proxy, Attribute[] attrs) : base(proxy.Name, attrs) { Proxy = proxy; }