Page.Background 属性

定义

获取或设置 Page 的背景。

public:
 property System::Windows::Media::Brush ^ Background { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush Background { get; set; }
member this.Background : System.Windows.Media.Brush with get, set
Public Property Background As Brush

属性值

Brush

Brush 用来绘制其背景的 Page

注解

依赖项属性信息

标识符字段 BackgroundProperty
元数据属性设置为 true AffectsRender, SubPropertiesDoNotAffectRender

适用于