📅  最后修改于: 2022-03-11 15:00:31.809000             🧑  作者: Mango
var selectedItemId = RenderingContext.Current.Rendering.Parameters["Background"];
var selectedItem = RenderingContext.Current.ContextItem.Database.GetItem(ID.Parse(Guid.Parse(selectedItemId)));
var parameter = selectedItem["Value"];