简体   繁体   English

无法在Visual Studio WPF应用程序中编辑ColumnDefinitions属性,省略号是不可见的!

[英]Cannot edit ColumnDefinitions property in Visual Studio WPF application, ellipsis are invisible!

I have a window that looks like this: 我有一个看起来像这样的窗口:

<Window x:Class="MyWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="My Title" Height="300" Width="300" ResizeMode="NoResize" SizeToContent="Height" WindowStartupLocation="CenterOwner">
    <DockPanel>
        <Grid x:Name="MyGrid" DockPanel.Dock="Top" Margin="10">

        </Grid>
    </DockPanel>
</Window>

Pretty simple. 很简单 The instructions I am following suggest that if I click the item, the properties window will appear (it does), and then I can click ColumnDefinitions (which is a Collection) to bring up the Collection Editor and add some columns. 我遵循的说明建议,如果单击该项目,将出现(确实)属性窗口,然后单击ColumnDefinitions(这是一个Collection)以调出Collection Editor并添加一些列。

However, the ColumnDefinitions property looks like this: 但是,ColumnDefinitions属性如下所示:

啊!

The ColumnDefinitions ellipsis you'd normally press is gone, or invisible, or something. 您通常按的ColumnDefinitions省略号消失了,或看不见了。

Any idea why? 知道为什么吗?

This seems to be a bug in my version of Visual Studio that is fixed in retail. 这似乎是我零售版中修复的Visual Studio版本中的错误。

A workaround is to click the property and press SPACE twice to switch focus to the invisible button and then click it. 一种解决方法是单击属性,然后按两次SPACE键将焦点切换到不可见的按钮,然后单击它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM