ApiElementBase
ベースクラスは、AnnotationBase 派生型とChartModifierBaseの派生型タイプをプロパティとメソッドを調べる
継承元: ContentControl
プロパティ
public virtual bool IsAttached { get; set; }
value = apiElementBase.IsAttached
apiElementBase.IsAttached = value
この要素が親 @UltrachartSurface に添付されているかどうかを取得またはセットする
public IChartModifierSurface ModifierSurface { get; }
value = apiElementBase.ModifierSurface
親 UltrachartSurface@ に IChartModifierSurface インスタンスを受け取り、UIElements を置くためのキャンバスとして機能します。
public virtual IUltrachartSurface ParentSurface { get; set; }
value = apiElementBase.ParentSurface
apiElementBase.ParentSurface = value
親UltrachartSurfaceを受け取り、操作を行います。
protected IMainGrid RootGrid { get; }
value = apiElementBase.RootGrid
UltrachartSurfaceのルートコンポーネントであるIMainGridをX軸、YAxes、ModifierSurface、RenderSurface、GridLinesPanelとGridLinesPanelを@に、取得します。
public virtual IServiceContainer Services { get; set; }
value = apiElementBase.Services
apiElementBase.Services = value
コンテナーのIServiceContainer@にセットするか
public IEnumerable<IAxis> XAxes { get; }
value = apiElementBase.XAxes
親 UltrachartSurface に XAxes を返す
public virtual IAxis XAxis { get; }
value = apiElementBase.XAxis
親XAxesコレクションからプライマリXAxisインスタンスを取得します。
public IEnumerable<IAxis> YAxes { get; }
value = apiElementBase.YAxes
親 UltrachartSurface に YAxes を返す
public virtual IAxis YAxis { get; }
value = apiElementBase.YAxis
親YAxesコレクションからプライマリYAxisインスタンスを取得する
メソッド
protected T GetAndAssertTemplateChild<T>(string childName)
result = apiElementBase.GetAndAssertTemplateChild(childName)
指定した名前とキャストからタイプまでTemplateChildを受け取り、結果がnullでないと主張します。
- childName
- テンプレート部分の名前。
戻り値: テンプレートの部分インスタンス
public IAxis GetXAxis(string axisName)
result = apiElementBase.GetXAxis(axisName)
指定したAxisAlignment@にXAxis IAxisインスタンスをUltrachartSurfaceに取得します。
public IAxis GetYAxis(string axisName)
result = apiElementBase.GetYAxis(axisName)
指定したAxisAlignment@に、親UltrachartSurfaceにYAxis IAxisインスタンスを取得します。
protected virtual void OnInvalidateParentSurface()
apiElementBase.OnInvalidateParentSurface()
InvalidateUltrachartMessageを上げ、親 UltrachartSurface を無効化させます。
protected void OnPropertyChanged(string propertyName)
apiElementBase.OnPropertyChanged(propertyName)
INotifyPropertyChanged導入の一環としてPropertyChangedイベントを上げます
- propertyName
- 物件名
イベント
public event PropertyChangedEventHandler PropertyChanged
apiElementBase.PropertyChanged += handler
INotifyPropertyChanged 実装でプロパティが変更されたときに 占領者