ApiElementBase

StockSharp.Xaml.Charting.ChartModifiers

ベースクラスは、AnnotationBase 派生型とChartModifierBaseの派生型タイプをプロパティとメソッドを調べる

継承元: 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 インスタンスを受け取り、UIElements を置くためのキャンバスとして機能します。

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

親UltrachartSurfaceを受け取り、操作を行います。

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

UltrachartSurfaceのルートコンポーネントであるIMainGridをX軸、YAxes、ModifierSurface、RenderSurface、GridLinesPanelと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 に XAxes を返す

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

親XAxesコレクションからプライマリXAxisインスタンスを取得します。

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

親 UltrachartSurface に YAxes を返す

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

親YAxesコレクションからプライマリYAxisインスタンスを取得する

メソッド

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

指定した名前とキャストからタイプまでTemplateChildを受け取り、結果がnullでないと主張します。

childName
テンプレート部分の名前。

戻り値: テンプレートの部分インスタンス

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

指定したAxisAlignment@にXAxis IAxisインスタンスをUltrachartSurfaceに取得します。

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

指定したAxisAlignment@に、親UltrachartSurfaceにYAxis IAxisインスタンスを取得します。

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

要素がチャート面に取り付けられたときに呼び出される

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

要素がチャート面から離脱される直前に呼び出される

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

InvalidateUltrachartMessageを上げ、親 UltrachartSurface を無効化させます。

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

INotifyPropertyChanged導入の一環としてPropertyChangedイベントを上げます

propertyName
物件名

イベント

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
apiElementBase.PropertyChanged += handler

INotifyPropertyChanged 実装でプロパティが変更されたときに 占領者