DocumentViewerBase.PageCountPropertyKey 欄位

定義

識別 PageCount 相依性屬性索引鍵。

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 。 呼叫 SetValue(DependencyPropertyKey, Object) ,傳遞 PageCountPropertyKey 作為 key 參數。

適用於