Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 数据透视项';s标题图标在辅助屏幕上不可见_C#_Visual Studio_Uwp - Fatal编程技术网

C# 数据透视项';s标题图标在辅助屏幕上不可见

C# 数据透视项';s标题图标在辅助屏幕上不可见,c#,visual-studio,uwp,C#,Visual Studio,Uwp,我有一个简单的UWP应用程序,其中pivot项的头是BitMapicon。所有这些都可以在我的主屏幕上完美运行,但当应用程序在辅助屏幕上启动时,标题图标是不可见的 以下是一个最小的可复制示例: <Page x:Class="IconTest.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.mi

我有一个简单的UWP应用程序,其中pivot项的头是BitMapicon。所有这些都可以在我的主屏幕上完美运行,但当应用程序在辅助屏幕上启动时,标题图标是不可见的

以下是一个最小的可复制示例:

<Page
        x:Class="IconTest.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:IconTest"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d">

    <Pivot>
        <PivotItem>
            <PivotItem.Header>
                <BitmapIcon UriSource="/Assets/StoreLogo.png"
                                Width="40"
                                Height="40" />
            </PivotItem.Header>
            <TextBlock Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit..." />
        </PivotItem>
        <PivotItem>
            <PivotItem.Header>
                <BitmapIcon UriSource="/Assets/StoreLogo.png"
                                Width="40"
                                Height="40" />
            </PivotItem.Header>
            <TextBlock Text="In condimentum nulla neque, eget accumsan diam malesuada tincidunt..." />
        </PivotItem>
        <PivotItem>
            <PivotItem.Header>
                <BitmapIcon UriSource="/Assets/StoreLogo.png"
                                Width="40"
                                Height="40" />
            </PivotItem.Header>
            <TextBlock Text="Fusce ac condimentum neque. In luctus suscipit ex sed tempor..." />
        </PivotItem>
    </Pivot>
</Page>

有人知道发生了什么事吗? 我正在使用visual studio 2017 v。15.4.3

更新:


我的电脑上有两个扩展布局的屏幕。在windows中,应用程序将在先前关闭的屏幕上启动。

您所说的“辅助屏幕”是什么意思?请提供详细的可复制步骤。我的电脑上有两个屏幕。若应用程序在1号屏幕上启动,则图标可见。在2号屏幕上启动应用程序时,图标不可见。应用程序将在先前关闭的屏幕上启动。哦,我已经划分了屏幕布局。我的意思是我已经扩展了显示器。很抱歉我的英语不好:/你的操作系统版本和项目的目标版本是什么?目标版本:Windows 10周年纪念版(10.0 Build 14393),操作系统版本:1709你说的“辅助屏幕”是什么意思?请提供详细的可复制步骤。我的电脑上有两个屏幕。若应用程序在1号屏幕上启动,则图标可见。在2号屏幕上启动应用程序时,图标不可见。应用程序将在先前关闭的屏幕上启动。哦,我已经划分了屏幕布局。我的意思是我已经扩展了显示器。很抱歉我的英语不好:/你的操作系统版本和项目的目标版本是什么?目标版本:Windows 10周年纪念版(10.0 Build 14393),操作系统版本:1709