private Bitmap GetRankBitmap(EnumsModel.PrincessTitle title)
 {
     return(EnumToImage.GetRankBitmap(title));
 }
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            var convertedValue = value as EnumsModel.PrincessTitle? ?? EnumsModel.PrincessTitle.Lady;

            return(ImageHelper.GetImageBrush(EnumToImage.GetRankBitmap(convertedValue)));
        }