FlowDocumentPage查看器启用触摸屏中的滚动内容

时间:2014-01-26 09:44:40

标签: c# wpf

我有触摸屏视图的FlowDocumentPage查看器如何启用滚动它是内容而不启用放大

这是我使用的代码                             

                            <ControlTemplate TargetType="{x:Type FlowDocumentPageViewer}">

                                <AdornerDecorator>

                                    <DocumentPageView ScrollViewer.CanContentScroll="True"  ScrollViewer.VerticalScrollBarVisibility="Visible" FlowDocumentPageViewer.IsMasterPage="True" />

                                </AdornerDecorator>

                            </ControlTemplate>

                        </FlowDocumentPageViewer.Template>

                        <FlowDocument Name="fd" ColumnWidth="1000"   >
                        </FlowDocument>

                    </FlowDocumentPageViewer>

0 个答案:

没有答案