Atomex.Client.Desktop.ViewModels.CurrencyViewModels.FA2CurrencyViewModel.FA2CurrencyViewModel C# (CSharp) Method

FA2CurrencyViewModel() public method

public FA2CurrencyViewModel ( Currency currency ) : Atomex.Client.Desktop.Properties
currency Currency
return Atomex.Client.Desktop.Properties
        public FA2CurrencyViewModel(Currency currency)
            : base(currency)
        {
            Header              = Currency.Description;
            IconBrush           = new ImageBrush(GetBitmap(PathToImage("tezos_90x90.png")));
            IconMaskBrush       = new ImageBrush(GetBitmap(PathToImage("tezos_mask.png")));
            AccentColor         = Color.FromRgb(r: 7, g: 82, b: 192);
            AmountColor         = Color.FromRgb(r: 188, g: 212, b: 247);
            UnselectedIconBrush = Brushes.White;
            IconPath            = GetBitmap(PathToImage("tezos.png"));
            LargeIconPath       = GetBitmap(PathToImage("tezos_90x90.png"));
            FeeName             = Resources.SvMiningFee;
        }
    }
FA2CurrencyViewModel