AdvertisePanel
StockSharp.Xaml
Panel for advertising action displaying.
Inherits: UserControl
Implements: IComponentConnector
Constructors
AdvertisePanel
public AdvertisePanel()
advertisePanel = AdvertisePanel()
Initializes a new instance of the AdvertisePanel.
Properties
TextColor
public Color TextColor { get; set; }
value = advertisePanel.TextColor
advertisePanel.TextColor = value
The color of text.
Methods
AddNews
public void AddNews(IEnumerable<News> news)
advertisePanel.AddNews(news)
Add news.
- news
- News.
InitializeComponent
public void InitializeComponent()
advertisePanel.InitializeComponent()
InitializeComponent
Fields
TextColorProperty
public static readonly DependencyProperty TextColorProperty
value = AdvertisePanel.TextColorProperty
DependencyProperty for TextColor.