Share via


FixedPage.ContentBox 属性

定义

获取或设置内容区域的边框,即位于边距(如果有)内 的页面区域

public:
 property System::Windows::Rect ContentBox { System::Windows::Rect get(); void set(System::Windows::Rect value); };
public System.Windows.Rect ContentBox { get; set; }
member this.ContentBox : System.Windows.Rect with get, set
Public Property ContentBox As Rect

属性值

用于定义内容区域的 Rect

注解

在定义 ContentBox时必须强制实施以下规则:

依赖项属性信息

标识符字段 ContentBoxProperty
元数据属性设置为 true

适用于

另请参阅