バージョン 24.2 (最新)

IsActiveDocument プロパティ

ペインは ActiveDocument かどうかを示すブール値を返します。
シンタックス
public bool IsActiveDocument {get;}
参照