コード例 #1
0
 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();
 }
コード例 #2
0
 public UIRelatedProperty(IUIType parentType, PropertyBase property)
     : base(parentType, property)
 {
 }
コード例 #3
0
ファイル: TypeBase.cs プロジェクト: 2594636985/SharpDevelop
 public virtual PropertyBase DuplicateProperty(PropertyBase property)
 {
     var propertyBase = property.Duplicate();
     propertyBase.AddToType(this);
     return propertyBase;
 }