レールの塗りつぶしに使用されるブラシを取得します。
名前空間: Microsoft.Windows.Design.Interaction
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public Shared ReadOnly Property RailFillBrush As Brush
Get
public static Brush RailFillBrush { get; }
public:
static property Brush^ RailFillBrush {
Brush^ get ();
}
static member RailFillBrush : Brush
static function get RailFillBrush () : Brush
プロパティ値
型: System.Windows.Media.Brush
WPF デザイナーでレールに使用される標準ブラシを表す Brush。
例
AdornerColors クラスを使用して、Slider コントロールの Background を RailFillBrush で指定された色に設定する方法を次のコード例に示します。 詳細については、「チュートリアル : コントロール内でのレールの実装」を参照してください。
' Set the slider's background to the rail fill color.
skewSlider.Background = AdornerColors.RailFillBrush
// Set the slider's background to the rail fill color.
skewSlider.Background = AdornerColors.RailFillBrush;
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間
PrimarySelectionAdornerProvider