ApiElementBase
基类 : 暴露属性和方法 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : ; : : : : : ; : : : : : : : : : : : : ; : : ; : : : : ; ; : : : : : ; ; : : : : : ; ; : : : ; ; : : : : : : : : ; : ; ; ; ;
继承自: ContentControl
属性
public virtual bool IsAttached { get; set; }
value = apiElementBase.IsAttached
apiElementBase.IsAttached = value
获取或设定此元素是否与父 UltrachartSurface 连接
public IChartModifierSurface ModifierSurface { get; }
value = apiElementBase.ModifierSurface
获取父 UltrachartSurface 上的 IChartModifierSurface 实例, 用于显示 UIEments 的画布
public virtual IUltrachartSurface ParentSurface { get; set; }
value = apiElementBase.ParentSurface
apiElementBase.ParentSurface = value
获取或设置母机 UltrachartSurface 以运行
protected IMainGrid RootGrid { get; }
value = apiElementBase.RootGrid
获取 IMainGrid 的根部组件, 包含 XAxs, YAxes, ModifierSurface, RenderSurface 和 GridLinesPanel 。
public virtual IServiceContainer Services { get; set; }
value = apiElementBase.Services
apiElementBase.Services = value
获得或设置一个 IServiceContainer 容器
public IEnumerable<IAxis> XAxes { get; }
value = apiElementBase.XAxes
返回父 UltrachartSurface 上的 XAxs
public IEnumerable<IAxis> YAxes { get; }
value = apiElementBase.YAxes
返回父 UltrachartSurface 上的 YAX
方法
protected T GetAndAssertTemplateChild<T>(string childName)
result = apiElementBase.GetAndAssertTemplateChild(childName)
使用指定的名称获取 TemplateChild 并投放到 。 声明结果不无效
- childName
- 模板部分的名称 。
返回值: 模板部分实例
public IAxis GetXAxis(string axisName)
result = apiElementBase.GetXAxis(axisName)
获取父 UltrachartSurface 上 AxisAlignment 的 XAxis IAxis 实例
public IAxis GetYAxis(string axisName)
result = apiElementBase.GetYAxis(axisName)
获取父 UltrachartSurface 上的 YAXis IAKIS 实例, 指定 AxisAlignment
protected virtual void OnInvalidateParentSurface()
apiElementBase.OnInvalidateParentSurface()
提高导致父 & # # # # #InvalidateUltrachartMessage # # # 无效的% #
protected void OnPropertyChanged(string propertyName)
apiElementBase.OnPropertyChanged(propertyName)
提出PropertyChanged活动,作为INotifyPropertyChanged执行的一部分
- propertyName
- 财产名称.
事件
public event PropertyChangedEventHandler PropertyChanged
apiElementBase.PropertyChanged += handler
当 & #% INotifyPropertyChanged\% 执行中属性发生变化时发生意外