DocumentViewerBase.PageCountPropertyKey 字段

定义

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

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

字段值

注解

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

适用于