IThemeProvider
XAML コントロールテンプレートのブラシとカラーを提供する Ultrachart テーマにインターフェイスを定義します。IThemeProvider を実装し、ThemeManager に渡して、UltrachartSurface コントロールのグローバルテーマを設定できます。
プロパティ
public Color AxisBandsFill { get; set; }
value = iThemeProvider.AxisBandsFill
iThemeProvider.AxisBandsFill = value
軸バンドの塗りつぶしのカラーをゲットまたはセットする
public Color BoxVolumeCellFontColor { get; set; }
value = iThemeProvider.BoxVolumeCellFontColor
iThemeProvider.BoxVolumeCellFontColor = value
色の色をゲットまたはセットします。
public Color BoxVolumeHighVolColor { get; set; }
value = iThemeProvider.BoxVolumeHighVolColor
iThemeProvider.BoxVolumeHighVolColor = value
色の色をゲットまたはセットします。
public Color BoxVolumeTimeframe2Color { get; set; }
value = iThemeProvider.BoxVolumeTimeframe2Color
iThemeProvider.BoxVolumeTimeframe2Color = value
色の色をゲットまたはセットします。
public Color BoxVolumeTimeframe2FrameColor { get; set; }
value = iThemeProvider.BoxVolumeTimeframe2FrameColor
iThemeProvider.BoxVolumeTimeframe2FrameColor = value
色の色をゲットまたはセットします。
public Color BoxVolumeTimeframe3Color { get; set; }
value = iThemeProvider.BoxVolumeTimeframe3Color
iThemeProvider.BoxVolumeTimeframe3Color = value
色の色をゲットまたはセットします。
public Color ClusterProfileClusterColor { get; set; }
value = iThemeProvider.ClusterProfileClusterColor
iThemeProvider.ClusterProfileClusterColor = value
色の色をゲットまたはセットします。
public Color ClusterProfileClusterMaxColor { get; set; }
value = iThemeProvider.ClusterProfileClusterMaxColor
iThemeProvider.ClusterProfileClusterMaxColor = value
色の色をゲットまたはセットします。
public Color ClusterProfileLineColor { get; set; }
value = iThemeProvider.ClusterProfileLineColor
iThemeProvider.ClusterProfileLineColor = value
色の色をゲットまたはセットします。
public Color ClusterProfileSeparatorLineColor { get; set; }
value = iThemeProvider.ClusterProfileSeparatorLineColor
iThemeProvider.ClusterProfileSeparatorLineColor = value
色の色をゲットまたはセットします。
public Color ClusterProfileTextColor { get; set; }
value = iThemeProvider.ClusterProfileTextColor
iThemeProvider.ClusterProfileTextColor = value
色の色をゲットまたはセットします。
public Brush CursorLabelBackgroundBrush { get; set; }
value = iThemeProvider.CursorLabelBackgroundBrush
iThemeProvider.CursorLabelBackgroundBrush = value
ラベルの背景のブラシを受け取り、またはセットします
public Brush CursorLabelBorderBrush { get; set; }
value = iThemeProvider.CursorLabelBorderBrush
iThemeProvider.CursorLabelBorderBrush = value
ラベルの境界のためのブラシをか、または置きます
public Brush CursorLabelForeground { get; set; }
value = iThemeProvider.CursorLabelForeground
iThemeProvider.CursorLabelForeground = value
ラベルテキストのフォアグラウンドのためのブラシを受け取り、またはセットします
public Brush CursorLineBrush { get; set; }
value = iThemeProvider.CursorLineBrush
iThemeProvider.CursorLineBrush = value
ラインストロークのブラシをゲットまたはセット
public Brush DefaultAxisMarkerAnnotationBackground { get; set; }
value = iThemeProvider.DefaultAxisMarkerAnnotationBackground
iThemeProvider.DefaultAxisMarkerAnnotationBackground = value
背景のデフォルトのブラシをゲットまたはセットする
public Brush DefaultAxisMarkerAnnotationForeground { get; set; }
value = iThemeProvider.DefaultAxisMarkerAnnotationForeground
iThemeProvider.DefaultAxisMarkerAnnotationForeground = value
テキストフォアグラウンドのデフォルトのブラシをゲットまたはセットする
public Brush DefaultCandleDownBodyBrush { get; set; }
value = iThemeProvider.DefaultCandleDownBodyBrush
iThemeProvider.DefaultCandleDownBodyBrush = value
DownBodyBrush のデフォルトのブラシを受け取り、またはセットします。 SolidColorBrush と LinearGradientBrush を受け付けます。
public Color DefaultCandleDownWickColor { get; set; }
value = iThemeProvider.DefaultCandleDownWickColor
iThemeProvider.DefaultCandleDownWickColor = value
DownWickColor のデフォルト色を受け取り、または設定します
public Brush DefaultCandleUpBodyBrush { get; set; }
value = iThemeProvider.DefaultCandleUpBodyBrush
iThemeProvider.DefaultCandleUpBodyBrush = value
UpBodyBrush のデフォルトのブラシを受け取り、またはセットします。 SolidColorBrush と LinearGradientBrush を受け付けます。
public Color DefaultCandleUpWickColor { get; set; }
value = iThemeProvider.DefaultCandleUpWickColor
iThemeProvider.DefaultCandleUpWickColor = value
UpWickColor のデフォルト色を受け取り、または設定します
public Brush DefaultColorMapBrush { get; set; }
value = iThemeProvider.DefaultColorMapBrush
iThemeProvider.DefaultColorMapBrush = value
ColorMap のデフォルトのブラシを受け取り、またはセットします。 受け入れます。 グラデーションストップは、最終的な熱署名の色を計算するために使用されます
public Brush DefaultColumnFillBrush { get; set; }
value = iThemeProvider.DefaultColumnFillBrush
iThemeProvider.DefaultColumnFillBrush = value
FillBrush のデフォルトのブラシを受け取り、またはセットします。 SolidColorBrush と LinearGradientBrush を受け付けます。
public Color DefaultColumnOutlineColor { get; set; }
value = iThemeProvider.DefaultColumnOutlineColor
iThemeProvider.DefaultColumnOutlineColor = value
列の輪郭をスタイルするために使用されるSeriesColorのデフォルト色を、得るか、または置きます。
public Color DefaultDownBandFillColor { get; set; }
value = iThemeProvider.DefaultDownBandFillColor
iThemeProvider.DefaultDownBandFillColor = value
BandDownColor のデフォルト色を受け取り、または設定します
public Color DefaultDownBandLineColor { get; set; }
value = iThemeProvider.DefaultDownBandLineColor
iThemeProvider.DefaultDownBandLineColor = value
ダウンバンドラインカラーを定義する Series1Color のデフォルト色を取得またはセットします。
public Color DefaultLineSeriesColor { get; set; }
value = iThemeProvider.DefaultLineSeriesColor
iThemeProvider.DefaultLineSeriesColor = value
ラインカラーを定義するために使用されるSeriesColor.のデフォルト色をゲットまたはセットします。
public Brush DefaultMountainAreaBrush { get; set; }
value = iThemeProvider.DefaultMountainAreaBrush
iThemeProvider.DefaultMountainAreaBrush = value
デフォルトブラシをAreaBrush@に取得またはセットします。 受け入れ、
public Color DefaultMountainLineColor { get; set; }
value = iThemeProvider.DefaultMountainLineColor
iThemeProvider.DefaultMountainLineColor = value
登山線の色を定義するSeriesColorのデフォルト色をゲットまたはセットします。
public Brush DefaultTextAnnotationBackground { get; set; }
value = iThemeProvider.DefaultTextAnnotationBackground
iThemeProvider.DefaultTextAnnotationBackground = value
背景のデフォルトのブラシをゲットまたはセットする
public Brush DefaultTextAnnotationForeground { get; set; }
value = iThemeProvider.DefaultTextAnnotationForeground
iThemeProvider.DefaultTextAnnotationForeground = value
テキストフォアグラウンドのデフォルトのブラシをゲットまたはセットする
public Color DefaultUpBandFillColor { get; set; }
value = iThemeProvider.DefaultUpBandFillColor
iThemeProvider.DefaultUpBandFillColor = value
BandUpColor のデフォルト色を受け取り、または設定します
public Color DefaultUpBandLineColor { get; set; }
value = iThemeProvider.DefaultUpBandLineColor
iThemeProvider.DefaultUpBandLineColor = value
バンドラインカラーを定義するSeriesColorのデフォルトカラーをゲットまたはセットします。
public Brush GridBackgroundBrush { get; set; }
value = iThemeProvider.GridBackgroundBrush
iThemeProvider.GridBackgroundBrush = value
グリッド領域の背景を取得または設定する
public Brush GridBorderBrush { get; set; }
value = iThemeProvider.GridBorderBrush
iThemeProvider.GridBorderBrush = value
グリニッスエリアの境界に使用されるブラシをゲットまたはセットする
public Brush LegendBackgroundBrush { get; set; }
value = iThemeProvider.LegendBackgroundBrush
iThemeProvider.LegendBackgroundBrush = value
背景のブラシをゲットまたはセットする
public Brush MajorGridLinesBrush { get; set; }
value = iThemeProvider.MajorGridLinesBrush
iThemeProvider.MajorGridLinesBrush = value
AxisBaseメジャーグリッドラインのブラシを受け取り、設定します。SolidColorBrushを期待してください。
public Brush MinorGridLinesBrush { get; set; }
value = iThemeProvider.MinorGridLinesBrush
iThemeProvider.MinorGridLinesBrush = value
AxisBaseマイナーグリッドライン用のブラシをゲットまたはセットします。SolidColorBrushを期待してください
public Brush OverviewFillBrush { get; set; }
value = iThemeProvider.OverviewFillBrush
iThemeProvider.OverviewFillBrush = value
選択されていない領域のブラシ(充填)を受け取り、またはセットする
public Brush RolloverLabelBackgroundBrush { get; set; }
value = iThemeProvider.RolloverLabelBackgroundBrush
iThemeProvider.RolloverLabelBackgroundBrush = value
RolloverModifier ラベルの背景のブラシを受け取り、セットします
public Brush RolloverLabelBorderBrush { get; set; }
value = iThemeProvider.RolloverLabelBorderBrush
iThemeProvider.RolloverLabelBorderBrush = value
RolloverModifier ラベルの境界のためのブラシを受け取り、またはセットします
public Brush RolloverLineStroke { get; set; }
value = iThemeProvider.RolloverLineStroke
iThemeProvider.RolloverLineStroke = value
RolloverModifier@ 縦行のブラシを受け取り、セットします
public Brush RubberBandFillBrush { get; set; }
value = iThemeProvider.RubberBandFillBrush
iThemeProvider.RubberBandFillBrush = value
ドラッグレチックの塗りつぶしやセットブラシをゲット
public Brush RubberBandStrokeBrush { get; set; }
value = iThemeProvider.RubberBandStrokeBrush
iThemeProvider.RubberBandStrokeBrush = value
ドラッグレチックの境界線にブラシを差し込み、セットします。
public Brush ScrollbarFillBrush { get; set; }
value = iThemeProvider.ScrollbarFillBrush
iThemeProvider.ScrollbarFillBrush = value
UltrachartScrollbarビューポートエリアのブラシ(塗りつぶし)を受け取り、セットする
public Brush TickTextBrush { get; set; }
value = iThemeProvider.TickTextBrush
iThemeProvider.TickTextBrush = value
AxisBase チェックラベルのブラシを受け取り、設定します
public Brush UltrachartBackground { get; set; }
value = iThemeProvider.UltrachartBackground
iThemeProvider.UltrachartBackground = value
UltrachartSurface@ 全体の背景を得られるか、または設定して下さい
メソッド
public void ApplyTheme(ResourceDictionary dictionary)
iThemeProvider.ApplyTheme(dictionary)
ResourceDictionary をIThemeProvider とします。このインスタンスは、IThemeProviderインスタンスのプロパティ名と同じキー(名前)でリソースを検索することで、
- dictionary
- ソース
public void ApplyTheme(IThemeProvider newTheme)
iThemeProvider.ApplyTheme(newTheme)
必要に応じて、すべてのプロパティを上書きし、INotifyPropertyChangedを上げることにより、IThemeProviderインスタンスをこのインスタンスに適用します。
- newTheme
- 新しいテーマインスタンス