【问题标题】:WPF CrystalReportsViewer: Change position of sidebarWPF CrystalReportsViewer:更改侧边栏的位置
【发布时间】:2017-09-07 14:42:12
【问题描述】:

我正在尝试更改 Crystalreportsviewer WPF 元素中左侧栏的位置,但我不知道如何操作。我希望侧边栏在顶部或底部...

<sap:CrystalReportsViewer
                            Name="crystalReportsViewer"
                            Width="auto"
                            Height="auto"
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            ShowPrevPageButton="False"
                            ShowStatusbar="False"
                            ShowToolbar="False"
                            SourceUpdated="crystalReportsViewer_SourceUpdated"
                            TargetUpdated="crystalReportsViewer_TargetUpdated"
                            ToggleSidePanel="None" />

【问题讨论】:

  • 让我们看看你的xaml? ;)
  • 我将 xaml 代码添加到我的帖子中

标签: c# wpf xaml crystal-reports


【解决方案1】:

我找到了解决方案:我有一个选项卡控件和选项卡项的样式...

<Style TargetType="{x:Type TabControl}">
   ...
</Style>


<Style TargetType="{x:Type TabItem}">
   ...
</Style>

我发现,cr控件中使用的是tabcontrol本身的样式,而不是tabitems的样式

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-20
    • 1970-01-01
    相关资源
    最近更新 更多