Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
x軸とy軸の黒いテキストの色を変更するには? WinRTXamlToolkit.Controls.DataVisualization 名前空間のすべてのxamlファイルのすべての黒色を変更しようとしました。どんな提案でも大歓迎です。
サンプル アプリで Ctrl+Shift を押すと、TextBlockが の中にありNumericAxisLabel、コードを検索すると、 によって作成されていることがわかりますNumericAxis.CreateAxisLabel()。その基本クラスの 1 つ -そのラベルにスタイルを適用するために使用できるプロパティがあるため、チャートでそれを設定するDisplayAxisと、別のブラシでプロパティのセッターを指定するスタイルを使用できます。AxisLabelStyleForeground
TextBlock
NumericAxisLabel
NumericAxis.CreateAxisLabel()
DisplayAxis
AxisLabelStyle
Foreground