Пример #1
0
 protected override void OnInitialized()
 {
     base.OnInitializedAsync();
     if (FullIconStyle == null)
     {
         FullIconStyle = IconStyle.Solid;
     }
     if (EmptyIconStyle == null)
     {
         EmptyIconStyle = IconStyle.Regular;
     }
     FullIconName  = string.IsNullOrEmpty(FullIcon) ? IconProvider.GetIconName(IconName.Star) : FullIcon;
     EmptyIconName = string.IsNullOrEmpty(EmptyIcon) ? IconProvider.GetIconName(IconName.Star) : EmptyIcon;
 }
Пример #2
0
 protected override void OnInitialized()
 {
     base.OnInitializedAsync();
     FullIcon  = IconProvider.GetIconName(IconName.Star);
     EmptyIcon = IconProvider.GetIconName(IconName.Star);
 }