DocumentViewerBase.MasterPageNumberPropertyKey 字段

定义

标识 MasterPageNumber 依赖属性键。Identifies the MasterPageNumber dependency property key.

protected: static initonly System::Windows::DependencyPropertyKey ^ MasterPageNumberPropertyKey;
protected static readonly System.Windows.DependencyPropertyKey MasterPageNumberPropertyKey;
 staticval mutable MasterPageNumberPropertyKey : System.Windows.DependencyPropertyKey
Protected Shared ReadOnly MasterPageNumberPropertyKey As DependencyPropertyKey 

字段值

注解

如果从 DocumentViewerBase派生,则需要此键才能设置 MasterPageNumber 依赖项属性的值。If you derive from DocumentViewerBase, you need this key in order to set the value of the MasterPageNumber dependency property. 调用 SetValue(DependencyPropertyKey, Object),以 key 参数的形式传递 MasterPageNumberPropertyKeyCall SetValue(DependencyPropertyKey, Object), passing MasterPageNumberPropertyKey as the key parameter.

适用于