Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/286.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# 轮毂截面全宽_C#_Xaml_Windows Phone 8.1 - Fatal编程技术网

C# 轮毂截面全宽

C# 轮毂截面全宽,c#,xaml,windows-phone-8.1,C#,Xaml,Windows Phone 8.1,如何将HubSection.Width设置为屏幕的全宽? 我不能像这样使用屏幕分辨率来显示HubSection的属性: HubSection1.Width = res.Width; HubSection2.Width = res.Width; HubSection3.Width = res.Width; …因为我向右滑动,中心部分显示了不正确的布局和另一部分的碎片。但当我向左滑动时,一切都是正确的 Windows Phone 8.1解决方案非常简单。现在我使用的是Pivot控件。您是否知道Hu

如何将HubSection.Width设置为屏幕的全宽? 我不能像这样使用屏幕分辨率来显示HubSection的属性:

HubSection1.Width = res.Width;
HubSection2.Width = res.Width;
HubSection3.Width = res.Width;
…因为我向右滑动,中心部分显示了不正确的布局和另一部分的碎片。但当我向左滑动时,一切都是正确的


Windows Phone 8.1解决方案非常简单。现在我使用的是Pivot控件。

您是否知道
Hub
控件实际上是为了在右侧显示“包含另一部分片段的布局”而设计的?