我想为此代码段输入一次属性名称,并填写所有三个占位符。当我目前使用Visual Studio进行此操作时,它只填充第一个变量。有没有办法通过输入一次名称来填充所有三个?
<div class="input-container clearfix">
<div class="input-row clearfix">
<div class="bp2-wdn-col-one-fourth input-title">
@Html.LabelFor(model => model.$PropertyName$, htmlAttributes: new { @class = "" })
</div>
<div class="bp2-wdn-col-three-fourths">
@Html.EditorFor(model => model.$PropertyName$, new { htmlAttributes = new { @class = "" } })
@Html.ValidationMessageFor(model => model.$PropertyName$, "", new { @class = "" })
</div>
</div>
</div>
该属性定义如上
<Declarations>
<Literal>
<ID>PropertyName</ID>
<ToolTip>Name of the model property</ToolTip>
<Default>Property</Default>
</Literal>
</Declarations>
有没有办法通过输入一次名称来填写所有三个?