Inheritance: ObjectContainerHelperBase
コード例 #1
0
ファイル: PropertyItem.cs プロジェクト: Monkeybin11/workflow
        protected override void OnValueChanged(object oldValue, object newValue)
        {
            base.OnValueChanged(oldValue, newValue);

            // Update the ObjectContainerHelper this depends on
            var helper = new ObjectContainerHelper(this, newValue);

            this.ContainerHelper = helper;
            if (this.IsExpanded)
            {
                helper.GenerateProperties();
            }
        }
コード例 #2
0
ファイル: PropertyItem.cs プロジェクト: Alexz18z35z/Gibbo2D
    protected override void OnValueChanged( object oldValue, object newValue )
    {
      base.OnValueChanged( oldValue, newValue );

      // Update the ObjectContainerHelper this depends on 
      var helper = new ObjectContainerHelper( this, newValue );
      this.ContainerHelper = helper;
      if( this.IsExpanded )
      {
        helper.GenerateProperties();
      }
    }