get the display name from the event attribute code example Example: displayname c# [DisplayName("foo")] public string MyProperty { get; set; }