internal ListViewItem GetListViewItem(PropertyBase property)
 {
     return (from lvi in VisualTreeHelperUtil.GetControlsDecendant<ListViewItem>(propertiesListView)
             let uiProperty = lvi.Content as UIProperty
             where uiProperty != null && uiProperty.BusinessInstance == property
             select lvi).First();
 }
 public UIRelatedProperty(IUIType parentType, PropertyBase property)
     : base(parentType, property)
 {
 }
Esempio n. 3
0
 public virtual PropertyBase DuplicateProperty(PropertyBase property)
 {
     var propertyBase = property.Duplicate();
     propertyBase.AddToType(this);
     return propertyBase;
 }