ChartModifierSurface
StockSharp.Xaml.Charting.Visuals
ChartModifierSurfaceを定義し、UltrachartSurfaceの上部にあるオーバーレイキャンバスとして機能し、注釈を描画します。
継承元: ContentControl
実装: IChartModifierSurface, IHitTestable
コンストラクター
ChartModifierSurface
public ChartModifierSurface()
chartModifierSurface = ChartModifierSurface()
ChartModifierSurfaceクラスの新しいインスタンスを初期化します。
プロパティ
Children
public ObservableCollection<UIElement> Children { get; }
value = chartModifierSurface.Children
UltrachartSurfaceの上部にキャンバス上に描画されたUIElementの子供コレクションを取得します
ClipToBounds
public bool ClipToBounds { get; set; }
value = chartModifierSurface.ClipToBounds
chartModifierSurface.ClipToBounds = value
UIElementsがModifierSurfaceに追加されたかどうかを取得またはセットする
メソッド
GetBoundsRelativeTo
public Rect GetBoundsRelativeTo(IHitTestable relativeTo)
result = chartModifierSurface.GetBoundsRelativeTo(relativeTo)
別のIHitTestable要素に相対的に現在のIHitTestable@要素の境界を取得します
- relativeTo
- 相対的なもの。
IsPointWithinBounds
public bool IsPointWithinBounds(Point point)
result = chartModifierSurface.IsPointWithinBounds(point)
ポイントが現在のIHitTestable要素の境界内にある場合は、trueを返します
- point
- 試験のポイント、RootGridに翻訳
戻り値: ポイントが境界内にある場合 true
TranslatePoint
public Point TranslatePoint(Point point, IHitTestable relativeTo)
result = chartModifierSurface.TranslatePoint(point, relativeTo)
他のIHitTestable要素に相対的なポイントを翻訳します
- point
- このページの先頭へ
- relativeTo
- 点を変形させるときに使用する他のIHitTestable
戻り値: トランスフォーメーションポイント
フィールド
ClipToBoundsProperty
public static readonly DependencyProperty ClipToBoundsProperty
value = ChartModifierSurface.ClipToBoundsProperty
電子メール:ClipToBoundsDependencyProperty@