[英]Visual studio 2015 Properties panel
I'm reading a tutorial about c# wpf
projects and at some point it tells me to put a tab control on my project and set its properties like this: 我正在阅读关于
c# wpf
项目的教程,并且在某些时候它告诉我在项目上放置一个tab控件并设置它的属性如下:
Grid.RowSpan="2" Canvas.Left="10" Canvas.Top="2" Width="408" Height="208" Grid.Row="1"
My novice problem is that I cannot find Grid.RowSpan
property on properties panel in order to change it. 我的新手问题是我无法在属性面板上找到
Grid.RowSpan
属性以便更改它。
You tabcontrol goes inside the page's grid, so the Grid.RowSpan property is inherited from that. tabcontrol进入页面的网格,因此Grid.RowSpan属性继承自该网格。
Additionally, you may have defined some rows in your grid in a way similar to this: 此外,您可能以类似于此的方式在网格中定义了一些行:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
So, basically, that should work. 所以,基本上,这应该工作。 RowSpan is written with Capital "R" and "S" btw, could htat be it?
RowSpan写的是资本“R”和“S”顺便说一下,可能不是吗?
I'm not entirely sure, but some are definitely easier to use from XAML. 我不完全确定,但有些肯定更容易使用XAML。
It is in the layout properties (see picture). 它位于布局属性中(见图片)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.