如何正确地下拉下拉并具有条目值

时间:2013-12-26 20:47:21

标签: c# asp.net mvvm

关注下拉工作但有两件事。一,显示它时不会像1-9一样保留此顺序。 (想要'其他'最后但显示第3个)。而且对于OTHER,我如何为其他用户输入原因的文本框包含?这些是为患者换药的原因。

public enum SubstituteReason 
{
   [StringValue("Physician contacted – please achieve response within 24 hours")]
   Doctor_Directive = 1,
   [StringValue("Physician not yet contacted – please contact within same business day ")]
   Patient_Must_Have_Exact = 2,
   [StringValue("Not appropriate for resident based on medical history")] 
   Pateint_B1 = 3,
   [StringValue("Resident insists on staying on current therapy and is discharging shortly ")] 
   Pateint_B2 = 4,
   [StringValue("MD Declined or Resident discharging within 48 hours ")]
   Substitution_Not_Available = 5,
   [StringValue("Prescription has been returned")]
   Family_To_Pay_Difference = 5,
   [StringValue("Prescription cannot be returned")]
   Doctor_Directiveb = 6,
   [StringValue("Resident tapering off current therapy")]
   Patient_Must_Have_Exactb = 7,
   [StringValue("Resident to pay out of pocket or supply from community")]
   Substitution_Not_Availableb = 8,
   [StringValue("Other")]
   Family_To_Pay_Differenceb = 9
}

0 个答案:

没有答案