开发者

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

开发者 https://www.devze.com 2022-12-30 04:23 出处:网络
I have a window that looks like this: <Window x:Class=\"MyWindow\" xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"

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" DockPane开发者_Python百科l.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.

However, the ColumnDefinitions property looks like this:

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

The ColumnDefinitions ellipsis you'd normally press is gone, or invisible, or something.

Any idea why?


This seems to be a bug in my version of Visual Studio that is fixed in retail.

A workaround is to click the property and press SPACE twice to switch focus to the invisible button and then click it.

0

精彩评论

暂无评论...
验证码 换一张
取 消