[Reflection] Value of property

  • Thread starter Thread starter Guest
  • Start date Start date
PropertyInfo pi = myLabel.GetType().GetProperty("Font");
Font fnt = (Font)pi.GetValue(myLabel, null);
 
Back
Top