InkCanvas.Background プロパティ

定義

Brush を取得または設定します。 InkCanvas の周りの境界領域の塗りつぶしに使用するブラシ。

public:
 property System::Windows::Media::Brush ^ Background { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Media.Brush Background { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Background : System.Windows.Media.Brush with get, set
Public Property Background As Brush

プロパティ値

Brush

Brush の周りの境界領域の塗りつぶしに使用する InkCanvas

属性

次の例では、プロパティInkCanvasを設定する方法をBackground示します。

inkCanvas1.Background = Brushes.LightGreen;
inkCanvas1.Background = Brushes.LightGreen

注釈

依存プロパティ情報

識別子フィールド BackgroundProperty
に設定されたメタデータ プロパティ true AffectsRender, SubPropertiesDoNotAffectRender

適用対象