SaveValue() public static method

public static SaveValue ( Widget editor, PropertyItem item, dynamic target ) : void
editor Widget
item PropertyItem
target dynamic
return void
コード例 #1
0
 public void Save(dynamic target)
 {
     for (var i = 0; i < editors.Count; i++)
     {
         var item = items[i];
         if (item.OneWay != true &&
             CanModifyItem(item))
         {
             var editor = editors[i];
             EditorUtils.SaveValue(editor, item, target);
         }
     }
 }
コード例 #2
0
 public void Save(dynamic target)
 {
     for (var i = 0; i < editors.Count; i++)
     {
         var item = items[i];
         if (item.OneWay != true &&
             !(Mode == PropertyGridMode.Insert && item.Insertable == false) &&
             !(Mode == PropertyGridMode.Update && item.Updatable == false))
         {
             var editor = editors[i];
             EditorUtils.SaveValue(editor, item, target);
         }
     }
 }
コード例 #3
0
 public static void SaveEditorValue(Widget editor, PropertyItem item, dynamic target)
 {
     EditorUtils.SaveValue(editor, item, target);
 }