ApiElementBase

StockSharp.Xaml.Charting.ChartModifiers

基类 : 暴露属性和方法 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : ; : : : : : ; : : : : : : : : : : : : ; : : ; : : : : ; ; : : : : : ; ; : : : : : ; ; : : : ; ; : : : : : : : : ; : ; ; ; ;

继承自: ContentControl

实现: INotifyPropertyChanged

属性

IsAttached
public virtual bool IsAttached { get; set; }
value = apiElementBase.IsAttached
apiElementBase.IsAttached = value

获取或设定此元素是否与父 UltrachartSurface 连接

ModifierSurface
public IChartModifierSurface ModifierSurface { get; }
value = apiElementBase.ModifierSurface

获取父 UltrachartSurface 上的 IChartModifierSurface 实例, 用于显示 UIEments 的画布

ParentSurface
public virtual IUltrachartSurface ParentSurface { get; set; }
value = apiElementBase.ParentSurface
apiElementBase.ParentSurface = value

获取或设置母机 UltrachartSurface 以运行

RootGrid
protected IMainGrid RootGrid { get; }
value = apiElementBase.RootGrid

获取 IMainGrid 的根部组件, 包含 XAxs, YAxes, ModifierSurface, RenderSurface 和 GridLinesPanel 。

Services
public virtual IServiceContainer Services { get; set; }
value = apiElementBase.Services
apiElementBase.Services = value

获得或设置一个 IServiceContainer 容器

XAxes
public IEnumerable<IAxis> XAxes { get; }
value = apiElementBase.XAxes

返回父 UltrachartSurface 上的 XAxs

XAxis
public virtual IAxis XAxis { get; }
value = apiElementBase.XAxis

从父 XAxes 收藏中获取主 XAxis 实例

YAxes
public IEnumerable<IAxis> YAxes { get; }
value = apiElementBase.YAxes

返回父 UltrachartSurface 上的 YAX

YAxis
public virtual IAxis YAxis { get; }
value = apiElementBase.YAxis

从母 YAxes 收藏中获取主要 YAxis 实例

方法

GetAndAssertTemplateChild``1
protected T GetAndAssertTemplateChild<T>(string childName)
result = apiElementBase.GetAndAssertTemplateChild(childName)

使用指定的名称获取 TemplateChild 并投放到 。 声明结果不无效

childName
模板部分的名称 。

返回值: 模板部分实例

GetXAxis
public IAxis GetXAxis(string axisName)
result = apiElementBase.GetXAxis(axisName)

获取父 UltrachartSurface 上 AxisAlignment 的 XAxis IAxis 实例

GetYAxis
public IAxis GetYAxis(string axisName)
result = apiElementBase.GetYAxis(axisName)

获取父 UltrachartSurface 上的 YAXis IAKIS 实例, 指定 AxisAlignment

OnAttached
public abstract void OnAttached()
apiElementBase.OnAttached()

当元素附在图面时调用

OnDetached
public abstract void OnDetached()
apiElementBase.OnDetached()

离图表面离线前立即调用

OnInvalidateParentSurface
protected virtual void OnInvalidateParentSurface()
apiElementBase.OnInvalidateParentSurface()

提高导致父 & # # # # #InvalidateUltrachartMessage # # # 无效的% #

OnPropertyChanged
protected void OnPropertyChanged(string propertyName)
apiElementBase.OnPropertyChanged(propertyName)

提出PropertyChanged活动,作为INotifyPropertyChanged执行的一部分

propertyName
财产名称.

事件

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
apiElementBase.PropertyChanged += handler

当 & #% INotifyPropertyChanged\% 执行中属性发生变化时发生意外